mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-30 12:47:13 -06:00
The reference app disables its Lock, Hide and Show All menus in isolation mode. In VectorCraft every item of Object › Lock and Object › Hide, Unlock All and Show All worked there. In isolation mode, object.lock, object.lock.above, object.lock.otherLayers, object.hide, object.hide.above, object.hide.otherLayers, object.unlockAll and object.showAll are now off. Their menu items are greyed out, and a call returns an error that ends "exit isolation mode first". The Contextual Task Bar's Lock button is greyed out too, and the Properties panel's Quick Actions leave out Lock. Pattern editing mode and opacity mask editing do not count as isolation mode for these commands. The check is outside_isolation in cmd.rs, with has_selection_outside_isolation beside it. Docs: docs/mcp.md, docs/target-app-parity.md.