Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Cancel command do not work on scripting
Before this fix, the 'Cancel' command did not work in the following specific situation: As soon as Aseprite was started and without hitting the 'Esc' key, the 'app.command.Cancel()' command did not perform any operation. It was discovered that the Cancel command is started only once per session and retains the 'm_type' throughout the session. Only a specific: app.command.Cancel {type = "all"} or app.command.Cancel {type = "noop"} could change the command type.
- Loading branch information