1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

MultiSelect: BoxSelect: fixed box-select from void setting nav id multiple times.

This commit is contained in:
ocornut 2024-07-25 14:46:25 +02:00
parent 237165a935
commit ed356dc181
2 changed files with 4 additions and 1 deletions

View file

@ -1719,6 +1719,7 @@ struct ImGuiBoxSelectState
bool IsActive;
bool IsStarting;
bool IsStartedFromVoid; // Starting click was not from an item.
bool IsStartedSetNavIdOnce;
bool RequestClear;
ImGuiKeyChord KeyMods : 16; // Latched key-mods for box-select logic.
ImVec2 StartPosRel; // Start position in window-contents relative space (to support scrolling)