From 8db77b2398b95e0b146c51ee16757ac60a13edce Mon Sep 17 00:00:00 2001 From: Karim Jerbi Date: Sun, 18 Oct 2026 08:52:48 +0100 Subject: [PATCH] fix(blocks): give the Polar Stretch palette row its own widget id The Actions catalog's id fallback assigned authoring-tool-flip-action to both Polar Stretch and Flip, so id lookups resolved the disabled Polar Stretch row and Flip clicks never dispatched. --- src/ui/window/authoring_palettes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/window/authoring_palettes.rs b/src/ui/window/authoring_palettes.rs index 2d5fd6a91..c999bfbe2 100644 --- a/src/ui/window/authoring_palettes.rs +++ b/src/ui/window/authoring_palettes.rs @@ -292,7 +292,7 @@ fn catalog( } else if single { container(entry).id(if *label=="Lookup" {"authoring-tool-lookup"}else{"authoring-tool-basepoint"}).into() } else if geometry_action { - container(entry).id(match *label {"Move"=>"authoring-tool-move-action","Scale"=>"authoring-tool-scale-action","Rotate"=>"authoring-tool-rotate-action","Stretch"=>"authoring-tool-stretch-action","Array"=>"authoring-tool-array-action",_=>"authoring-tool-flip-action"}).into() + container(entry).id(match *label {"Move"=>"authoring-tool-move-action","Scale"=>"authoring-tool-scale-action","Rotate"=>"authoring-tool-rotate-action","Stretch"=>"authoring-tool-stretch-action","Polar Stretch"=>"authoring-tool-polar-stretch-action","Array"=>"authoring-tool-array-action",_=>"authoring-tool-flip-action"}).into() } else if lookup_action { container(entry).id("authoring-tool-lookup-table").into() } else if properties_table_action {