general movement now works

This commit is contained in:
Priec
2025-08-22 11:23:11 +02:00
parent 5717c88857
commit f49899e66d

View File

@@ -45,10 +45,12 @@ impl ModeManager {
return AppMode::Command; return AppMode::Command;
} }
// Always trust the FormEditor when a form is active // Always trust the FormEditor when a form is active
if app_state.ui.show_form && !app_state.ui.focus_outside_canvas {
if let Some(editor) = &app_state.form_editor { if let Some(editor) = &app_state.form_editor {
return AppMode::from(editor.mode()); return AppMode::from(editor.mode());
} }
}
// --- Non-form views (add_logic, add_table, etc.) --- // --- Non-form views (add_logic, add_table, etc.) ---
if app_state.ui.show_add_logic { if app_state.ui.show_add_logic {