egui/crates
Antoine Beyeler 3258cd2a7f
Fix two `ScrollArea` bugs: leaking scroll target and broken animation to target offset (#4174)
This PR fixes two issues related to `ScrollArea`.

1) When a `ScrollArea` would have `drag_to_scroll` set to `false` (e.g.
because some custom logic is at play or some other reason), it would not
animate to the `target_offset`, effectively making
`Response::scroll_to_me()` ineffective.
2) Single-direction `ScrollArea`s would leak the `scroll_target`'s other
direction. In certain specific circumstances (e.g. an horizontal area
nested in a vertical one, or inversely), this _could_ work as intended,
but in many other cases it could cause unwanted effects. With this PR,
both `scroll_target` directions are consumed by nearest enclosing
`ScrollArea`, regardless of the actually enabled scroll axes.
2024-03-17 17:12:41 +01:00
..
ecolor Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
eframe Fix bug parsing url query with escaped & or = (#4172) 2024-03-15 06:43:27 +01:00
egui Fix two `ScrollArea` bugs: leaking scroll target and broken animation to target offset (#4174) 2024-03-17 17:12:41 +01:00
egui-wgpu Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
egui-winit Reduce log-level of processing ViewportCommands 2024-03-14 10:18:07 +01:00
egui_demo_app Add API for raw mouse motion (#4063) 2024-02-20 18:00:39 +01:00
egui_demo_lib A `Window` can now be resizable in only one direction (#4155) 2024-03-11 09:29:48 +01:00
egui_extras `egui_extras`: Fixed handling of `file://` protocol for images (#4107) 2024-03-08 10:24:34 +01:00
egui_glow Release 0.26.2 - Response.interact/context_menu fix 2024-02-14 10:49:57 +01:00
egui_plot egui_plot: fix panic when the base step size is set to 0 (#4078) 2024-02-20 16:26:47 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Improve logic for when submenus are kept open (#4166) 2024-03-13 12:32:54 +01:00
epaint Fix scaling of rounded corners for rect shape (#4152) (#4161) 2024-03-12 11:14:24 +01:00