Skip to content

Commit

Permalink
Update ui_dbg.h with ImGUI API change on Keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokona committed Oct 1, 2024
1 parent 1693a2f commit e22c1a5
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 e22c1a5

Please sign in to comment.