You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that I can only change the colour or presence of the outline of a rectangle if it has been created with an outline right from the start. May apply to other shapes as well.
# This worksrect_with_outline=Rect(x=0, y=0, width=10, height=10, outline=0xFFFFFF) # White outlinerect_with_outline.outline=0xFF0000# Turns outline red# These don't, but I would expect them torect_with_none=Rect(x=0, y=0, width=10, height=10, outline=None) # Nothing to see hererect_with_none.outline=0xFF0000# Does nothing (Expectation: Turn outline red)rect_with_nothing=Rect(x=0, y=0, width=10, height=10) # Nothing to see hererect_with_nothing.outline=0xFF0000# Does nothing (Expectation: Turn outline red)# This works around it # (baldengineer on Discord told me this, thanks!)rect_with_workaround=Rect(x=0, y=0, width=10, height=10, outline=0xFFFFFF) # White outlinerect_with_workaround.outline=None# Removes outlinerect_with_workaround.outline=0xFF0000# Turns outline red
The text was updated successfully, but these errors were encountered:
I've noticed that I can only change the colour or presence of the outline of a rectangle if it has been created with an outline right from the start. May apply to other shapes as well.
The text was updated successfully, but these errors were encountered: