mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
These commands moved selected objects into a hidden or locked layer, or hid them, and left them selected, with the key object still set when it was one of them: - a row dragged into a hidden layer or group (layer.move); - node.move into a hidden or locked layer or group; - Merge Selected into a hidden or locked layer; - Flatten Artwork into a locked layer; - Collect in New Layer, when the topmost row it collects is in a hidden or locked layer; - applying a data set that hides bound objects (dataset.select, dataset.next, dataset.prev). They now call Selection::deselect_uneditable after the change, as layer.setProps, layer.hideOthers and layer.lockOthers do. Every selected object left hidden or locked is deselected, and the key object is cleared when it is one of them. Undo restores the objects and selects them again with the key object. A row drag into a hidden layer and node.move into a hidden or locked layer still succeed. The params text of layer.move, node.move, layer.merge, layer.flatten, layer.collectInNew and dataset.select describes the deselection. The Layers panel section of docs/mcp.md said that node.move has the same rules as layer.move; it now says that node.move also moves a row into a locked layer or group, which layer.move refuses. Docs: docs/mcp.md, docs/target-app-parity.md.