Improve context menu operation

This commit is contained in:
Jeremy Soller 2024-01-05 15:10:46 -07:00
parent 5806c420a8
commit 40ee305eb2
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 69 additions and 34 deletions

View file

@ -416,6 +416,8 @@ impl Application for App {
}
_ => {}
}
// Disable side context page
self.core.window.show_context = false;
}
Message::TabMessage(entity, tab_message) => {
let mut update_opt = None;
@ -451,6 +453,7 @@ impl Application for App {
},
//TODO: TABRELOAD
Message::ToggleContextPage(context_page) => {
//TODO: ensure context menus are closed
if self.context_page == context_page {
self.core.window.show_context = !self.core.window.show_context;
} else {