mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
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.