mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-08 23:44:19 +00:00
InputText, Nav: amend 1566c96. (incorrectly commited old chunk)
This commit is contained in:
parent
1566c96ccd
commit
ca9b7b4071
1 changed files with 1 additions and 1 deletions
|
|
@ -13055,7 +13055,7 @@ void ImGui::SetFocusID(ImGuiID id, ImGuiWindow* window)
|
|||
window->NavLastIds[nav_layer] = id;
|
||||
if (g.LastItemData.ID == id)
|
||||
window->NavRectRel[nav_layer] = WindowRectAbsToRel(window, g.LastItemData.NavRect);
|
||||
if (g.NavId == g.ActiveId && g.ActiveIdIsAlive)
|
||||
if (id == g.ActiveIdIsAlive)
|
||||
g.NavIdIsAlive = true;
|
||||
|
||||
if (g.ActiveIdSource == ImGuiInputSource_Keyboard || g.ActiveIdSource == ImGuiInputSource_Gamepad)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue