Fixed (harmless) incorrect order of arguments in IsKeyChordPressed (#7657)

This commit is contained in:
jungnitz 2024-06-05 11:18:23 +02:00 committed by ocornut
parent 209edcc247
commit b95b2b4574
1 changed files with 1 additions and 1 deletions

View File

@ -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()