mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 18:54:31 +01:00
New Swatch and Delete Swatch took the dragged rows by name. When a dragged swatch was deleted and a new one was made under its name before the drop, the drop duplicated or deleted the new swatch, which was never dragged. The panel now records each dragged swatch or color group when the drag starts and, until the drop, checks it against the states the document's undo steps keep and against the current state. A row that one of them does not hold unchanged is left out of the drop, also when the new row has the same name and paint. A row that stays unchanged is duplicated or deleted as before.