egui/crates
Emil Ernerfeldt f7efb2186d
Improve hit-test of thin widgets, and widgets across layers (#5468)
When there are multiple layers (e.g. with custom transforms) close to
each other, the hit test code used to only consider widgets in the layer
directly under the mouse. This can make it difficult to hit thin widgets
just on the outside of a transform layer.

This PR fixes that.

It also prioritizes thin widgets, so that if there is both a thin widget
and a thick widget under the mouse cursor, you will always hit the thin
widgets, even if the thin widgets is layered behind the thick one. This
makes it easier to hit thin resize-handles.

In theory this should allow us to make `resize_grab_radius_side` and
`resize_grab_radius_corner` smaller in a future PR, if we want to.
2024-12-16 09:33:25 +01:00
..
ecolor Add `Color32::mul` (#5437) 2024-12-05 13:53:20 +01:00
eframe Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
egui Improve hit-test of thin widgets, and widgets across layers (#5468) 2024-12-16 09:33:25 +01:00
egui-wgpu Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
egui-winit Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
egui_demo_app Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
egui_demo_lib Add screenshot support for eframe web (#5438) 2024-12-12 19:17:42 +01:00
egui_extras Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
egui_glow Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
egui_kittest Update MSRV to 1.80 (#5457) 2024-12-10 16:09:03 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add new `Rect::intersects_ray_from_center` method (#5415) 2024-12-02 09:20:59 +01:00
epaint Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
epaint_default_fonts Release 0.29.1 - Bug fixes 2024-10-01 10:08:21 +02:00