Skip to content

Commit

Permalink
Merge branch 'Mokona-fix-for-imgui'
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Oct 2, 2024
2 parents 1693a2f + e22c1a5 commit 247ad89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ui_dbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ static void _ui_dbg_dbgwin_draw(ui_dbg_t* win) {
ImGui::SetNextWindowSize(ImVec2(win->ui.init_w, win->ui.init_h), ImGuiCond_Once);
if (ImGui::Begin(win->ui.title, &win->ui.open, ImGuiWindowFlags_MenuBar)) {
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows)) {
ImGui::CaptureKeyboardFromApp();
ImGui::SetNextFrameWantCaptureKeyboard(true);
_ui_dbg_handle_input(win);
}
_ui_dbg_draw_menu(win);
Expand Down

0 comments on commit 247ad89

Please sign in to comment.