mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Redo swapped the document and the history under a live interaction, whose snapshot was still the document from before: the next preview or a cancel brought that one back while the history recorded the redo, so the redone edit was lost. Redo now settles the interaction first, the way Undo already did: a drag that changed something is kept as the newest step (which ends the steps to redo), one that changed nothing is dropped.