open menu in command mode now implemented
This commit is contained in:
@@ -23,6 +23,10 @@ impl ModeManager {
|
||||
event_handler: &EventHandler,
|
||||
admin_state: &AdminState,
|
||||
) -> AppMode {
|
||||
if event_handler.find_file_palette_active {
|
||||
return AppMode::General;
|
||||
}
|
||||
|
||||
if event_handler.command_mode {
|
||||
return AppMode::Command;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user