mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
The popover kept the paints it owned before each change, at most 32. Every changed frame of a live color drag added one, so after 32 frames the paint before the drag was dropped, and Undo of the drag closed the popover. Each kept paint now carries the history step it was current at. Undo and Redo return only to the first or the last paints of one step, so the frames of a drag between them replace each other. After Undo back to an earlier stop, the paints the popover left were kept under the restored stop instead of the stop they belonged to. When a stop had crossed its neighbor, Redo with the neighbor selected then kept the popover open on the neighbor. They are now kept under the stop the popover edited before the Undo.