Skip to content

Commit

Permalink
Fixed incorrect order of arguments in IsKeyChordPressed (ocornut#7657)
Browse files Browse the repository at this point in the history
  • Loading branch information
jungnitz committed Jun 5, 2024
1 parent 209edcc commit dceecb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dceecb3

Please sign in to comment.