mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 12:38:18 +00:00
Layers: in isolation mode the trash deletes no row outside the isolated art
Rows dragged to the trash before isolation mode started went to layer.delete at once when none needed a question. ui.layerDelete now returns an error for any row outside the isolated art, given or dropped, and deletes nothing. OK in its question with no rows given deletes the highlighted rows the panel lists, not every highlighted row.
This commit is contained in:
+2
-2
@@ -5875,8 +5875,8 @@ and `layerRows`, the rows highlighted in the panel.
|
||||
the selected items and their artwork?"; OK deletes the rows it asked about in that document, one undo step, and
|
||||
Cancel keeps them; an empty layer, a layer with only guides, and groups or objects alone are deleted at once; in
|
||||
isolation mode, with no row highlighted, a current layer outside the isolated art is an error and nothing is deleted,
|
||||
and OK deletes nothing when isolation mode started while it asked and a row it asked about is outside the isolated
|
||||
art),
|
||||
and so is a row outside it, given as `ids` or `id`, dropped on the trash or asked about before isolation mode
|
||||
started),
|
||||
`layer.locate {id?, layersOnly?}` (highlights the selected object's row, or with several selected the row of the
|
||||
one frontmost in the stacking order, whatever order they were selected in; an `id` locates that object instead;
|
||||
the panel opens the rows around it;
|
||||
|
||||
Reference in New Issue
Block a user