ID:1916636
 
Resolved
Inherited transform and color did not apply properly to underlays and overlays.
BYOND Version:508
Operating System:Windows 8 64-bit
Web Browser:Firefox 39.0
Applies to:Webclient
Status: Resolved (508.1296)

This issue has been resolved.
Descriptive Problem Summary:
Using this code produces different results in DS and the webclient in 508.1295.
http://files.byondhome.com/Flick/webclientbug.zip
In DS, the underlay appears beneath the translated obj. In the webclient, the underlay appears at the objects screen loc without being affected by the translation.


Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
mob
var
obj/screenText
Login()
.=..()
screenText = new
screenText.screen_loc = "1,1"
var/matrix/X = new
X.Translate(200,100)
screenText.maptext = "<div style='color:#f00;font-size:20px;'>Testing</div>"
screenText.maptext_x = 2
screenText.maptext_y = -2
screenText.maptext_width = 200
screenText.maptext_height = 100
screenText.color = "#000"
screenText.underlays += screenText.appearance
screenText.transform = X
screenText.maptext_x = 0
screenText.maptext_y = 0
screenText.color = "#fff"
client.screen += screenText



turf
icon = 'icons.dmi'
icon_state = "sand"


Expected Results:

Actual Results:

Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:

Lummox JR resolved issue with message:
Inherited transform and color did not apply properly to underlays and overlays.