diff --git a/crates/ui-egui/src/tests/taskbar.rs b/crates/ui-egui/src/tests/taskbar.rs index fc01daa133..1615681f57 100644 --- a/crates/ui-egui/src/tests/taskbar.rs +++ b/crates/ui-egui/src/tests/taskbar.rs @@ -1674,8 +1674,8 @@ fn bar_action_ids_are_distinct() { assert_eq!(runs.len(), canvas::TASK_BAR_ACTIONS.len()); } -/// An action the bar does not have, a missing one, or a `visible` that is not true or false is an -/// error and changes nothing. +/// An action the bar does not have, a missing one, or a `visible` that is not true, false or null is +/// an error and changes nothing. #[test] fn bar_actions_refuse_bad_params() { let mut app = app(); diff --git a/docs/mcp.md b/docs/mcp.md index 3121745656..1e2c93d7d6 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -8177,7 +8177,7 @@ and a group id the bar does not have is dropped when they are read. Another `gro be one of …", and a `visible` that is not true or false fails with "`visible` must be true or false"; either leaves every group as it is. The groups and their contents are VectorCraft's own. `window.taskBar.actions {action, visible?}` (desktop app) turns one of the Contextual Task Bar's actions or chips on -(`visible: true`), off (`false`) or toggles it (omitted), and returns `{action, visible}`. The actions are `imageTrace`, +(`visible: true`), off (`false`) or toggles it (omitted or null), and returns `{action, visible}`. The actions are `imageTrace`, `cropImage`, `removeBackground`, `removeAnchorPoints`, `join` (Connect and Join), `cutPath`, `convertToCorner`, `convertToSmooth`, `group`, `makeClippingMask`, `unite`, `expand`, `editClippingPath`, `releaseClippingMask`, `ungroup`, `isolate`, `editPath`, `releaseCompoundPath`, `createOutlines`, `convertToPointType`, `convertToAreaType`,