[28 Jan 2011] Interesting Bug with #TEXTOUT Layer
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 28 Jan 2011 02:56:56 -0000
Try the following code:
The text disappears after the second mouse click. However, if the "Color" entry is removed, then the bug does not show up. So the following code works:
Try the following code:
Code: Select all
EnableLayers()
TextOut(#CENTER, #CENTER, "Test", {Name="Text"})
WaitLeftMouse()
SetLayerStyle("Text", {Color=#WHITE, Rotate=30})
WaitLeftMouse()
SetLayerStyle("Text", {Color=#WHITE, Rotate=0})
WaitLeftMouse()
Code: Select all
EnableLayers()
TextOut(#CENTER, #CENTER, "Test", {Name="Text"})
WaitLeftMouse()
SetLayerStyle("Text", {Rotate=30})
WaitLeftMouse()
SetLayerStyle("Text", {Rotate=0})
WaitLeftMouse()