feat(ui): add drawing tab context menu

Refs #493
This commit is contained in:
Hakan Seven committed 2026-07-27 13:18:31 +03:00
1 parent 7f1a1ff57b
commit 9d973a0fd6
8 files changed
+388 -26

No files matched your search

+1 -1
View File
@@ -214,7 +214,7 @@ pub(super) fn on_ribbon_tool_click(&mut self, tool_id: String, event: ModuleEven
// last selection. #21.
self.sync_ribbon_layers();
self.sync_ribbon_from_selection();
return close_win;
return Task::batch([close_win, self.continue_tab_close_queue()]);
}
Some(crate::app::PendingClose::Quit) => {
if let Some(idx) = self.tabs.iter().position(|t| t.dirty) {