edemaine / cocreate

Cocreate Shared Whiteboard/Drawing
MIT License
210 stars 27 forks source link

Undo #11

Closed edemaine closed 4 years ago

edemaine commented 4 years ago

Local undo makes the most sense here. Global undo/restore will be left to history tracking.

Each operation has an inverse pushed onto the undo stack. Undo operations push redo operation onto stack.