from Implement adding stickies on Paper.js amend to state The state change by opening a screen and the state change by adding a sticky go into History separately, so when Undo is done, they are Undoād separately. I think it would be better to be like git commit āamend when multiple state changes occur with one user action.
About changing the Undo unit, rather than thinking āchange the Undo unitā. If you donāt need to Undo back to the āA only done stateā with A and B changes occurring programmatically. I thought I just needed to pop one from History for Undo right after A.
This page is auto-translated from /nishio/stateć«amend using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iām very happy to spread my thought to non-Japanese readers.