From 61ee25c33d0c5afb78550afde4e021b01ff7a6ed Mon Sep 17 00:00:00 2001 From: Tanish Manku Date: Mon, 23 Nov 2026 17:41:04 -0700 Subject: [PATCH] fix(engine): the Mask command's parameter text names no other product (M8) --- crates/engine/src/cmds_timeline.rs | 2 +- docs/guide/reference/commands.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/engine/src/cmds_timeline.rs b/crates/engine/src/cmds_timeline.rs index 9faa3154..4fd733f6 100644 --- a/crates/engine/src/cmds_timeline.rs +++ b/crates/engine/src/cmds_timeline.rs @@ -63,7 +63,7 @@ pub fn specs() -> Vec { true, move_layer_to, ), - c("layer.toggle_mask", "Mask", "Modify/Timeline", None, "{layer?} turns the layer into a mask over the layer below, or back into a normal layer. A new mask is locked, as in Animate: unlocked, its edge shows on the stage in the layer colour, to pick and reshape it", true, toggle_mask), + c("layer.toggle_mask", "Mask", "Modify/Timeline", None, "{layer?} turns the layer into a mask over the layer below, or back into a normal layer. A new mask is locked: unlocked, its edge shows on the stage in the layer colour, to pick and reshape it", true, toggle_mask), c("layer.set_type", "Layer Type", "", None, "{type: normal|mask|masked|guide|guided, layer?}", true, set_layer_type), c("layer.add_motion_guide", "Add Classic Motion Guide", "Insert/Timeline", None, "{layer?}", true, add_motion_guide), ] diff --git a/docs/guide/reference/commands.md b/docs/guide/reference/commands.md index f9c11454..6050b4c2 100644 --- a/docs/guide/reference/commands.md +++ b/docs/guide/reference/commands.md @@ -165,7 +165,7 @@ This page is generated from the command registry, so it always matches the versi - **Move Layer Down** `layer.move_down` · Modify › Timeline · changes the document Parameters: `{layer?}` - **Mask** `layer.toggle_mask` · Modify › Timeline · changes the document - Parameters: `{layer?} turns the layer into a mask over the layer below, or back into a normal layer. A new mask is locked, as in Animate: unlocked, its edge shows on the stage in the layer colour, to pick and reshape it` + Parameters: `{layer?} turns the layer into a mask over the layer below, or back into a normal layer. A new mask is locked: unlocked, its edge shows on the stage in the layer colour, to pick and reshape it` - **Layer Properties** `layer.set_properties` · Modify › Timeline · changes the document Parameters: `{layer?, name?, type?: normal|mask|masked|guide|guided, mask?: coverage|alpha|luminance (a mask layer's mask type), color?, outline?: bool (view as outlines), height?: 100|200|300, opacity?: 0..100 (percent), visible?, locked?, onion?} sets several at once, as one undo step; answers with the layer's properties` - **Remove Camera** `camera.remove` · Modify › Timeline · changes the document