|
@ -11383,10 +11383,12 @@ void ImGui::NavProcessItemForTabbingRequest(ImGuiID id, ImGuiItemFlags item_flag |
|
|
ImGuiContext& g = *GImGui; |
|
|
ImGuiContext& g = *GImGui; |
|
|
|
|
|
|
|
|
if ((move_flags & ImGuiNavMoveFlags_FocusApi) == 0) |
|
|
if ((move_flags & ImGuiNavMoveFlags_FocusApi) == 0) |
|
|
|
|
|
{ |
|
|
if (g.NavLayer != g.CurrentWindow->DC.NavLayerCurrent) |
|
|
if (g.NavLayer != g.CurrentWindow->DC.NavLayerCurrent) |
|
|
return; |
|
|
return; |
|
|
if (g.NavFocusScopeId != g.CurrentFocusScopeId) |
|
|
if (g.NavFocusScopeId != g.CurrentFocusScopeId) |
|
|
return; |
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// - Can always land on an item when using API call.
|
|
|
// - Can always land on an item when using API call.
|
|
|
// - Tabbing with _NavEnableKeyboard (space/enter/arrows): goes through every item.
|
|
|
// - Tabbing with _NavEnableKeyboard (space/enter/arrows): goes through every item.
|
|
|