mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-18 16:10:14 +00:00
The panel's Delete Swatch and Swatch Options, in the footer and the panel menu, treated every selected name starting with "[" as reserved, so a user swatch such as [Mine] or a color group such as [Team] could not be deleted or edited there, and New Color Group and Save Swatch Library left them out. The checks now use Swatch::is_reserved, as the engine's swatch.delete and swatch.edit and the item context menu already do, so only None and [Registration] stay protected. Selected names the document no longer holds are left out instead of reaching the command as errors.