Reported before?
Just found out it has been reported before: " Text doesn’t reset (code)" I will not remove this one though because I think the extra info and different title may be helpfull to others…
Describe the bug
setText() changes designtime text
To Reproduce
Steps to reproduce the bug:
- Put a text on the stage (use the T tool and write something like “designtime text”)
- Change the text from a script (i.e. textExample.setText(“this is an example”); )
- Run the script (text changes from “designtime text” to “this is an example”
- Press pause --> text doesn’t change back to “designtime text”
- Fun fact: Pressing Ctrl-Z changes text back to designtime text
Expected behavior
Text will change back to “designtime text”
Screenshots
none
Computer Information
- OS: Win10
- Desktop
- Chrome
- Wick 1.19.3
I’ve noticed this behavior over a large number of assets that I change from my script (like click handlers that stack up and get invoked multiple times if your not carefull). This may be a feature, but I would personaly prefer a possebility to reset the project to it’s last design-state after script execution finishes.