mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Fix bug in pointer movement detection (#5329)
Fix: Popups do not appear in certain situations. * Closes #5080 * Related #5107 The root cause is that `last_move_time` is not updated in certain situations (slow situations?).
This commit is contained in:
@@ -941,6 +941,7 @@ impl PointerState {
|
||||
press_origin.distance(pos) > self.input_options.max_click_dist;
|
||||
}
|
||||
|
||||
self.last_move_time = time;
|
||||
self.pointer_events.push(PointerEvent::Moved(pos));
|
||||
}
|
||||
Event::PointerButton {
|
||||
|
||||
Reference in New Issue
Block a user