mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
While a script runs a `command.batch`, the session kept the style lists of every step that changed them, so each such step also made the next edit copy the whole list. The session now keeps one copy of each open document's lists, as the last step left them, and records the names of the styles a step removed or renamed and the documents a step reverted. The style objects check those names, so a style that a batch removes and makes again, or renames and names back, is still a different style.