Bug in SetLayerStyle() with #LINE Objects
Posted: Tue Jan 15, 2013 11:01 pm
Test this code:
Code: Select all
EnableLayers()
Line(50, 50, 150, 150, #WHITE, {Name="LineLayer", Thickness=10})
WaitLeftMouse()
SetLayerStyle("LineLayer", {AnchorX=0.5, AnchorY=0.5})
WaitLeftMouse()
SetLayerStyle("LineLayer", {Thickness=4}); Changing the thickness resets the AnchorX and AnchorY to 0.0