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

This commit is contained in:
ocornut
2024-07-18 18:19:18 +02:00
parent 5d9de14493
commit 907268a430
2 changed files with 15 additions and 3 deletions
+1
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