Internals: made ScrollbarEx() use ImS64 to facilitate use with larger ranges (not fully tested) + clipper tweaks (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20)

This does NOT fix all problems with large ranges and floating point precision, it merely attenuate them.
This commit is contained in:
ocornut
2021-12-06 12:00:16 +01:00
parent eea836135a
commit 6e141a9cae
4 changed files with 20 additions and 14 deletions

View File

@ -72,6 +72,7 @@ Other Changes:
by the clipper to display. (#3841)
- Clipper: fixed content height declaration slightly mismatching the value of when not using a clipper.
(an additional ItemSpacing.y was declared, affecting scrollbar range).
- Clipper: minor and incomplete changes to tame down precision issues on very large ranges (#3609, #3962).
- Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceAllowNullID doesn't lose
tooltip when scrolling. (#143)
- Metrics: Added a node showing windows in submission order and showing the Begin() stack.