diff --git a/crates/ui-egui/src/menus/ui_commands.rs b/crates/ui-egui/src/menus/ui_commands.rs index b3e091493..5813da723 100644 --- a/crates/ui-egui/src/menus/ui_commands.rs +++ b/crates/ui-egui/src/menus/ui_commands.rs @@ -465,7 +465,7 @@ pub const UI_COMMANDS: &[(&str, &str, &str, &str)] = &[ "window.toolsBesideCanvas", "Keep Tools Beside the Canvas", "", - "{on?: bool} dock the Tools panel between the left-side panels and the canvas (true) or at the window's left edge (false, the default), or toggle (omitted); a floating Tools panel stays floating and docks at the chosen place when it is docked again. Kept with the workspace; a workspace saved without it docks Tools at the window's edge. Returns the new state", + "{on?: bool} dock the Tools panel between the left-side panels and the canvas (true) or at the window's left edge (false, the default), or toggle (omitted or null; any other value is an error); a floating Tools panel stays floating and docks at the chosen place when it is docked again. Kept with the workspace; a workspace saved without it docks Tools at the window's edge. Returns the new state", ), ( "window.floatTools", diff --git a/docs/mcp.md b/docs/mcp.md index 79159150e..65c48aa48 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -1698,7 +1698,7 @@ changes neither option. Behavior reference: [View artwork](https://helpx.adobe.c By default the docked Tools panel sits at the window's left edge, outside any panels docked on the left. `window.toolsBesideCanvas {on?}` (Window › Toolbars › Keep Tools Beside the Canvas, remote mode, `invoke_menu`) docks it between those panels and the canvas instead (`on: true`), back at the window's edge (`on: false`), or -toggles it (no `on`), and answers the new state. A value of `on` that is not true or false is an error and changes +toggles it (`on` omitted or null), and answers the new state. Any other value of `on` is an error and changes nothing. With the setting on, a floating Tools panel docks when it is dropped on the canvas's left edge as well as on the window's left edge, and `window.panel.dock {panel: "tools"}` docks it beside the canvas. A floating Tools panel stays floating when the setting changes. The setting is VectorCraft's own layout option, off by default; it is