mirror of
https://github.com/emilk/egui.git
synced 2026-07-11 09:08:53 +00:00
ca632c5e5d
Additionally to emmiting egui::Event::Touch events, on_touch() now also emits egui::Event::PointerButton, egui::event::PointerMoved and egui::event::PointerGone facilitating UI usage on touchscreen devices. If there are multiple touches, only the first one will be translated into pointer events. This prevents situations with two pointers.