egui/crates
Emil Ernerfeldt a815923717
Improve `Response.dragged`, `drag_started` and `clicked` (#3888)
If a widgets sense both clicks and drags, we don't know wether or not a
mouse press on it will be a short click or a long drag.

With this PR, `response.dragged` and `response.drag_started` isn't true
until we know it is a drag and not a click.
If the widget ONLY senses drags, then we know as soon as someone presses
on it that it is a drag.
If it is sensitive to both clicks and drags, we don't know until the
mouse moves a bit, or stays pressed down long enough.

This PR also ensures that `response.clicked` and is only true for
widgets that senses clicks.
2024-01-25 17:28:53 +01:00
..
ecolor Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
eframe eframe: don't call `App::update` on minimized windows (#3877) 2024-01-25 10:15:38 +01:00
egui Improve `Response.dragged`, `drag_started` and `clicked` (#3888) 2024-01-25 17:28:53 +01:00
egui-wgpu `egui-wgpu`: turn off the default features of `wgpu` (#3875) 2024-01-24 09:43:40 +01:00
egui-winit `egui_winit`: Allow getting the `clipboard` and `allow_ime` state (#3724) 2024-01-23 12:49:28 +01:00
egui_demo_app Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
egui_demo_lib Improve `Response.dragged`, `drag_started` and `clicked` (#3888) 2024-01-25 17:28:53 +01:00
egui_extras Use a selectable label for syntax-highlighted text in egui_extras 2024-01-22 14:47:58 +01:00
egui_glow Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
egui_plot Smooth scrolling (#3884) 2024-01-24 16:40:20 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Cross-widget text select (#3870) 2024-01-24 15:45:22 +01:00
epaint Fix text selection crashes 2024-01-24 15:47:44 +01:00