diff --git a/tools/editor/editor_app.cpp b/tools/editor/editor_app.cpp index 3426b4c8..57ad1a49 100644 --- a/tools/editor/editor_app.cpp +++ b/tools/editor/editor_app.cpp @@ -442,7 +442,11 @@ void EditorApp::processEvents() { } } } - if (!io.WantCaptureKeyboard) + // Use WantTextInput (true only while typing into a text widget) + // instead of WantCaptureKeyboard (true whenever any ImGui panel + // has focus). Otherwise hovering over a panel silently disables + // the WASD/QE flycam, which was the practical user complaint. + if (!io.WantTextInput) camera_.processKeyEvent(event.key); }