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

MultiSelect: Box-Select: Fixed scrolling on high framerates.

This commit is contained in:
ocornut 2023-12-20 22:31:07 +01:00
parent 5d9de14493
commit 907268a430
2 changed files with 15 additions and 3 deletions

View file

@ -1721,6 +1721,7 @@ struct ImGuiBoxSelectState
ImGuiKeyChord KeyMods : 16; // Latched key-mods for box-select logic.
ImVec2 StartPosRel; // Start position in window-contents relative space (to support scrolling)
ImVec2 EndPosRel; // End position in window-contents relative space
ImVec2 ScrollAccum; // Scrolling accumulator (to behave at high-frame spaces)
ImGuiWindow* Window;
// Temporary/Transient data