mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 13:09:16 +00:00
The Layers panel's trash button, rows dropped on it, the panel menu's Delete Selection, and Delete or Backspace on highlighted rows now run ui.layerDelete. When a layer or sublayer among the rows holds art (hidden, locked and nested objects count; guides do not), a confirm dialog asks first. OK deletes the rows it asked about, by id, in the document it was asked in, as one undo step; Cancel keeps them. Empty layers, guide-only layers and object or group rows alone are deleted at once. layer.delete itself is unchanged and never asks.