|
@@ -3229,7 +3229,10 @@ static bool ImGuiListClipper_StepInternal(ImGuiListClipper* clipper)
|
|
|
// Add range selected to be included for navigation
|
|
|
const bool is_nav_request = (g.NavMoveScoringItems && g.NavWindow && g.NavWindow->RootWindowForNav == window->RootWindowForNav);
|
|
|
if (is_nav_request)
|
|
|
+ {
|
|
|
+ data->Ranges.push_back(ImGuiListClipperRange::FromPositions(g.NavScoringRect.Min.y, g.NavScoringRect.Max.y, 0, 0));
|
|
|
data->Ranges.push_back(ImGuiListClipperRange::FromPositions(g.NavScoringNoClipRect.Min.y, g.NavScoringNoClipRect.Max.y, 0, 0));
|
|
|
+ }
|
|
|
if (is_nav_request && (g.NavMoveFlags & ImGuiNavMoveFlags_IsTabbing) && g.NavTabbingDir == -1)
|
|
|
data->Ranges.push_back(ImGuiListClipperRange::FromIndices(clipper->ItemsCount - 1, clipper->ItemsCount));
|
|
|
|
|
@@ -13379,7 +13382,7 @@ void ImGui::NavUpdateCreateMoveRequest()
|
|
|
//if (!g.NavScoringNoClipRect.IsInverted()) { GetForegroundDrawList()->AddRect(g.NavScoringNoClipRect.Min, g.NavScoringNoClipRect.Max, IM_COL32(255, 200, 0, 255)); } // [DEBUG]
|
|
|
}
|
|
|
g.NavScoringRect = scoring_rect;
|
|
|
- g.NavScoringNoClipRect.Add(scoring_rect);
|
|
|
+ //g.NavScoringNoClipRect.Add(scoring_rect);
|
|
|
}
|
|
|
|
|
|
void ImGui::NavUpdateCreateTabbingRequest()
|