mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 22:33:08 +00:00
A swatch or color group dragged from the Swatches panel, in any view, and released on the Delete Swatch button is deleted through swatch.delete, even while nothing is selected and the button is disabled for clicks. A swatch that is part of the selection carries the other selected swatches of its kind with it. The drop asks first as a plain click does, and Alt does not skip the question; Cancel keeps everything, and OK deletes them in one undo step. None and Registration are never taken. The button is enabled while swatches are selected or while a swatch or group of the active document is being dragged, and it is outlined only while such a swatch or group is held over it. A paint from another panel, art, and a swatch dragged from another document delete nothing. The list's drop zone now ends where the list does. It used the list's height before the list shrank to its rows, so with few rows it reached over the buttons below and took a release on them: a paint dropped on Delete Swatch became a new swatch.