Internals: add ImGuiNavMoveFlags_NoSelect and use in FocusItem().

(amend 31f11cf which broke raage-select)
This commit is contained in:
ocornut
2023-06-01 15:49:34 +02:00
parent 31f11cf304
commit 956a1a17fb
2 changed files with 8 additions and 7 deletions

View File

@ -1482,7 +1482,8 @@ enum ImGuiNavMoveFlags_
ImGuiNavMoveFlags_FocusApi = 1 << 9, // Requests from focus API can land/focus/activate items even if they are marked with _NoTabStop (see NavProcessItemForTabbingRequest() for details)
ImGuiNavMoveFlags_Tabbing = 1 << 10, // == Focus + Activate if item is Inputable + DontChangeNavHighlight
ImGuiNavMoveFlags_Activate = 1 << 11, // Activate/select target item.
ImGuiNavMoveFlags_DontSetNavHighlight = 1 << 12, // Do not alter the visible state of keyboard vs mouse nav highlight
ImGuiNavMoveFlags_NoSelect = 1 << 12, // Don't trigger selection by not setting g.NavJustMovedTo
ImGuiNavMoveFlags_NoSetNavHighlight = 1 << 13, // Do not alter the visible state of keyboard vs mouse nav highlight
};
enum ImGuiNavLayer