mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-25 02:24:24 +00:00
Amend ef9d525
This commit is contained in:
parent
ef9d525f02
commit
650cb51bf1
5 changed files with 6 additions and 6 deletions
|
|
@ -8636,7 +8636,7 @@ static int CalcRoutingScore(ImGuiID focus_scope_id, ImGuiID owner_id, ImGuiInput
|
|||
|
||||
return 255;
|
||||
}
|
||||
if (flags & ImGuiInputFlags_RouteActiveItem)
|
||||
if (flags & ImGuiInputFlags_RouteActive)
|
||||
{
|
||||
if (owner_id != 0 && g.ActiveId == owner_id)
|
||||
return 1;
|
||||
|
|
@ -8712,7 +8712,7 @@ bool ImGui::SetShortcutRouting(ImGuiKeyChord key_chord, ImGuiInputFlags flags, I
|
|||
return false;
|
||||
}
|
||||
|
||||
if (flags & ImGuiInputFlags_RouteActiveItem)
|
||||
if (flags & ImGuiInputFlags_RouteActive)
|
||||
return false;
|
||||
|
||||
// ActiveIdUsingAllKeyboardKeys trumps all for ActiveId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue