From b95b2b4574dea80f38edce3477d5e15ef1f9a2ee Mon Sep 17 00:00:00 2001 From: jungnitz <24437335+jungnitz@users.noreply.github.com> Date: Wed, 5 Jun 2024 11:18:23 +0200 Subject: [PATCH] Fixed (harmless) incorrect order of arguments in IsKeyChordPressed (#7657) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index cb01836d..92ea44cd 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, ImGuiKeyOwner_Any); } // This is equivalent to comparing KeyMods + doing a IsKeyPressed()