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
When changing the textColor through the api and then 'undoing' (cmd + z), Sketch API will read the color before 'undoing' while the Sketch UI shows the correct previous color.
For example, if you run the following script on a project with just a text layer with a textColor = '#ffffff' (white)
The textColor will appropriately change to black, '#000000'. Though, if you do an undo (cmd + z), to change the textColor back to white, sketch will show the appropriate white color on the layer and in the inspector, but the api will read black when running the following script
When changing the textColor through the api and then 'undoing' (cmd + z), Sketch API will read the color before 'undoing' while the Sketch UI shows the correct previous color.
For example, if you run the following script on a project with just a text layer with a
textColor = '#ffffff'
(white)The textColor will appropriately change to black, '#000000'. Though, if you do an undo (cmd + z), to change the textColor back to white, sketch will show the appropriate white color on the layer and in the inspector, but the api will read black when running the following script
This does not seem to happen on fills or borders...
The text was updated successfully, but these errors were encountered: