mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 12:50:04 -04:00
Fix minor bug in mouse velocity tracking
This commit is contained in:
@@ -290,7 +290,7 @@ impl MouseInput {
|
||||
could_be_click = false;
|
||||
}
|
||||
|
||||
if self.pressed {
|
||||
if pressed {
|
||||
// Start of a drag: we want to track the velocity for during the drag
|
||||
// and ignore any incoming movement
|
||||
self.pos_tracker.clear();
|
||||
|
||||
Reference in New Issue
Block a user