[lua] Add sprite.undoHistory#5294
Conversation
aseprite-bot
left a comment
There was a problem hiding this comment.
clang-tidy made some suggestions
I think In a future we could have
In some way the internal |
a30a4cd to
fe39e0c
Compare
aseprite-bot
left a comment
There was a problem hiding this comment.
clang-tidy made some suggestions
|
Renamed and moved to Sprite |
fe39e0c to
7578fbd
Compare
|
Looks great! 👍 |
Implements #5205.
I'm not 100% convinced by the API names, alternatively we can use something likeundoStatesCountor call themundoSteps(or stepCount) -- I also figuredSitewas the place to put this but it could be moved without much issue as long as we have document access, it makes sense to me since it's a level above the sprite and scripting has no concept of a "document".