diff --git a/imgui.cpp b/imgui.cpp index cb01836d8b64..0bd6744cd491 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9725,7 +9725,7 @@ void ImGui::SetItemKeyOwner(ImGuiKey key, ImGuiInputFlags flags) // This is the only public API until we expose owner_id versions of the API as replacements. bool ImGui::IsKeyChordPressed(ImGuiKeyChord key_chord) { - return IsKeyChordPressed(key_chord, 0, ImGuiInputFlags_None); + return IsKeyChordPressed(key_chord, ImGuiInputFlags_None, 0); } // This is equivalent to comparing KeyMods + doing a IsKeyPressed()