mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-13 16:45:26 +00:00
InputText, Nav: amend 1566c96. (incorrectly commited old chunk)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user