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:
parent
61e883be25
commit
a0f072ab1e
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue