|
|
@ -11524,7 +11524,9 @@ static void ImGui::NavProcessItem() |
|
|
|
|
|
|
|
|
|
|
|
// Process Move Request (scoring for navigation)
|
|
|
|
// Process Move Request (scoring for navigation)
|
|
|
|
// FIXME-NAV: Consider policy for double scoring (scoring from NavScoringRect + scoring from a rect wrapped according to current wrapping policy)
|
|
|
|
// FIXME-NAV: Consider policy for double scoring (scoring from NavScoringRect + scoring from a rect wrapped according to current wrapping policy)
|
|
|
|
if (g.NavMoveScoringItems && (item_flags & ImGuiItemFlags_Disabled) == 0 && (window->Flags & ImGuiWindowFlags_NoNavInputs) == 0) |
|
|
|
if (g.NavMoveScoringItems && (item_flags & ImGuiItemFlags_Disabled) == 0) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if ((g.NavMoveFlags & ImGuiNavMoveFlags_FocusApi) || (window->Flags & ImGuiWindowFlags_NoNavInputs) != 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const bool is_tabbing = (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) != 0; |
|
|
|
const bool is_tabbing = (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) != 0; |
|
|
|
if (is_tabbing) |
|
|
|
if (is_tabbing) |
|
|
@ -11545,6 +11547,7 @@ static void ImGui::NavProcessItem() |
|
|
|
NavApplyItemToResult(&g.NavMoveResultLocalVisible); |
|
|
|
NavApplyItemToResult(&g.NavMoveResultLocalVisible); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Update information for currently focused/navigated item
|
|
|
|
// Update information for currently focused/navigated item
|
|
|
|
if (g.NavId == id) |
|
|
|
if (g.NavId == id) |
|
|
|