From 99c1e062aa5d12801eb042dc01c3ed3c0787e782 Mon Sep 17 00:00:00 2001 From: justinjohn0306 Date: Mon, 12 Oct 2026 16:20:48 +0530 Subject: [PATCH] Home: a Selection Pane button that works with nothing selected (#132) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Selection Pane was only under Home ▸ Arrange, which is disabled until a shape is selected, so it couldn't be opened on an empty selection. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/ribbon.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-egui/src/ribbon.rs b/crates/ui-egui/src/ribbon.rs index c7c251ef..2c57683c 100644 --- a/crates/ui-egui/src/ribbon.rs +++ b/crates/ui-egui/src/ribbon.rs @@ -984,6 +984,8 @@ fn home(app: &mut SlideApp, ui: &mut Ui) { }); drawing_group(app, ui); group(ui, |ui| { + // Also under Arrange, but that is disabled until something is selected (#132). + big(app, ui, Icon::SelectionPane, "Selection\nPane", "view.pane", json!({"pane": "selection"})); big(app, ui, Icon::DesignIdeas, "Design\nIdeas", "view.pane", json!({"pane": "designer"})); }); }