-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Expected Behavior
Using undo should undo 1 user action. Pressing redo should redo the last undo action.
Actual Behavior
Lots of strange things are happening. In the simplest example of just placing some blocks pressing undo removes some of the inner shadow blocks, and also places blocks in the upper-left.
Steps to Reproduce
- Launch the playground from current sources
- Drag several blocks onto the stage: say 1 move block + 1 turn left block + 1 turn right block
- Right-click on the workspace and click undo
- Bug -> notice the last placed blocked is not removed but instead the inner shadow block disappears.
Further undo actions after this create more buggy behavior:
5) Next undo seems to actually remove the block
6) Next 2 undo's behave like the 1st 2
7) 5th undo makes a block appear in the upper-left
Additionally, clicking Redo does not redo the actions (bugged or not). It might not be worth commenting more about this given undo is broken.
Operating System and Browser
Chrome on Mac