diff --git a/src/input.rs b/src/input.rs index 15f84b2..5479e0c 100644 --- a/src/input.rs +++ b/src/input.rs @@ -538,6 +538,7 @@ impl State { return; }; let mut pointer_loc = pointer.current_location(); + pointer_loc += event.delta(); // clamp to screen limits // this event is never generated by winit