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:
rustbasic 2025-04-22 19:00:22 +09:00 committed by GitHub
parent 61e883be25
commit a0f072ab1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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 {