egui/crates
YgorSouza a7ae1012e5
Fix debug-panic in ScrollArea if contents fit without scrolling (#7440)
If the ScrollArea's contents are smaller than the inner rect, but the
scrollbar is set to always visible, clicking on it led to a remap from
an empty range to calculate the new offset, which triggered a debug
assertion in the remap function, because the result is indeterminate.

Since in this case there is no need to scroll, we just skip the remap
and set the offset to 0 directly.

* Closes <https://github.com/emilk/egui/issues/7362>
* [x] I have followed the instructions in the PR template
2025-08-14 10:41:51 +02:00
..
ecolor Make the `hex_color` macro `const` (#7444) 2025-08-12 09:12:44 +02:00
eframe Replace `winapi` with `windows-sys` crate (#7416) 2025-08-12 12:28:51 +02:00
egui Fix debug-panic in ScrollArea if contents fit without scrolling (#7440) 2025-08-14 10:41:51 +02:00
egui-wgpu Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
egui-winit Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
egui_demo_app Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
egui_demo_lib Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
egui_extras Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
egui_glow Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
egui_kittest Fix `override_text_color` priority (#7439) 2025-08-14 10:40:04 +02:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00
emath Add `emath::fast_midpoint` (#7435) 2025-08-08 12:04:51 +02:00
epaint Enable `clippy::iter_over_hash_type` lint (#7421) 2025-08-06 13:55:53 +02:00
epaint_default_fonts Release 0.32.0 - Atoms, popups, and better SVG support (#7329) 2025-07-10 16:58:39 +02:00