Disable menu item key equivalents while there are pending keystrokes

This commit is contained in:
Max Brunsfeld 2022-05-20 10:04:43 -07:00
parent 21862faa58
commit b72d97ce78
5 changed files with 43 additions and 5 deletions

View file

@ -73,9 +73,8 @@ impl super::ForegroundPlatform for ForegroundPlatform {
}
fn on_menu_command(&self, _: Box<dyn FnMut(&dyn Action)>) {}
fn on_validate_menu_command(&self, _: Box<dyn FnMut(&dyn Action) -> bool>) {}
fn on_will_open_menu(&self, _: Box<dyn FnMut()>) {}
fn set_menus(&self, _: Vec<crate::Menu>, _: &keymap::Matcher) {}
fn prompt_for_paths(