mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-02 22:20:50 -06:00
Palette: the entry that cancels the key object reads Cancel Key Object
The command palette listed select.key as Set Key Object. A pick runs the command without an id, which cancels the key object (#541). select.key is now labeled Cancel Key Object, the label of the Align panel menu item that also cancels the key object. The palette lists it once, and engine.commands reports the new label. The params text and docs/mcp.md say that select.key {id} makes id the key object, and that select.key {}, or an id that names no selected object, cancels it. The Set Key Object rows are removed from the 10 catalogs that had one. Docs: the select.key params text, docs/mcp.md, docs/target-app-parity.md. # Conflicts: # crates/engine/src/cmd/select.rs # docs/mcp.md # docs/target-app-parity.md
This commit is contained in:
@@ -62,10 +62,10 @@ pub fn specs() -> Vec<CommandSpec> {
|
||||
),
|
||||
cmd!(
|
||||
"select.key",
|
||||
"Set Key Object",
|
||||
"Cancel Key Object",
|
||||
[],
|
||||
None,
|
||||
"{id?: a selected top-level object (not a layer, a compound-path member or an object inside another selected object), one of two or more (the Selection tool: a click on one object of a selection of several; on the key again: no id)} the key object Align aligns to and Distribute Spacing spaces from; without `id` it clears the key, as does a selection that holds only the key and objects inside it (one object, or a group key and its own members); any other id is an error that leaves the key as it was → {key} (the resulting key object, or null)",
|
||||
"{id?: a selected top-level object (not a layer, a compound-path member or an object inside another selected object), one of two or more (the Selection tool: a click on one object of a selection of several; on the key again: no id)} the key object Align aligns to and Distribute Spacing spaces from; without `id` it cancels the key, as does a selection that holds only the key and objects inside it (one object, or a group key and its own members); any other id is an error that leaves the key as it was → {key} (the resulting key object, or null)",
|
||||
has_doc,
|
||||
key
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user