mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-20 05:10:26 -05:00
115af37168
Extract snapshot reload from saved-design loading and reuse it for history restore so undo matches save semantics. Keep a capped stack of stage.toJSON() snapshots with debounced pushes after drags, transforms, property panel edits, alignment/layer moves, adds, deletes, and related actions. Wire Ctrl/Cmd+Z and Ctrl/Cmd+Y (plus Ctrl/Cmd+Shift+Z for redo) outside focused inputs; add non-passive wheel handling on the canvas container to zoom within existing scale limits. Document shortcuts and wheel zoom in the editor info box (i18n-ready).