mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 13:17:19 -06:00
Isolation mode: object.isolate refuses hidden or locked objects and locked guide paths
A click with the Selection tool does not select a hidden or locked object, an object in a hidden or locked group or layer, or a guide path while Lock Guides is on, but object.isolate isolated each of them. Once a locked or hidden group, or a group on a locked or hidden layer, was isolated, a Selection tool drag moved the member under the pointer. The Layers panel's Enter Isolation Mode sent the same command for a locked or hidden layer or group. object.isolate now refuses a hidden or locked object, or one in a hidden or locked group or layer, with "the object is hidden or locked" (the text of layer.target), and a guide path while Lock Guides is on with "guides are locked". Isolation mode stays off, and the selection stays as it is. Docs: docs/mcp.md.
This commit is contained in:
+3
-1
@@ -1757,7 +1757,9 @@ and `layerRows`, the rows highlighted in the panel.
|
||||
`layer.outlineOthers` / `layer.previewAll` (Ctrl/Cmd+Alt-clicking an eye runs Outline Others for the row's layer, or
|
||||
Preview All Layers when the others are in Outline already), `layer.lockOthers` / `layer.unlockAll` (Alt-clicking an eye or a lock
|
||||
runs Hide or Lock Others for the row's layer, or Show or Unlock All when the others already are), `layer.pasteRemembersLayers`,
|
||||
`object.isolate {id}` (a group, a layer or a single object; not type) / `object.exitIsolation`.
|
||||
`object.isolate {id?}` (a group, a layer or a single object, by default the first selected object; not type, not a
|
||||
hidden or locked object or one in a hidden or locked group or layer, and not a guide path while Lock Guides is on) /
|
||||
`object.exitIsolation`.
|
||||
- **Dialogs and panel state** (control channel and the app's MCP): `ui.layerOptions {ids?}` and `ui.newLayer
|
||||
{sublayer?}` open Layer Options (dialog `layerOptions`: name, color, template, locked, visible, printable, preview,
|
||||
dimImages, dimPercent; OK is one undo step; Cmd/Ctrl+Alt+L runs `ui.newLayer` for a new layer), `ui.layersPanelOptions` opens Panel Options (`layersPanelOptions`:
|
||||
|
||||
Reference in New Issue
Block a user