Home: a Selection Pane button that works with nothing selected (#132)

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 <noreply@anthropic.com>
This commit is contained in:
justinjohn0306
2026-10-12 16:20:48 +05:30
co-authored by Claude Opus 5.5
parent 0ec0cc5e81
commit 99c1e062aa
+2
View File
@@ -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"}));
});
}