mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-27 03:56:50 -06:00
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:
co-authored by
Claude Opus 5.5
parent
0ec0cc5e81
commit
99c1e062aa
@@ -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"}));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user