We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282e6ec commit 79add1fCopy full SHA for 79add1f
lighthouse-protocol/src/input/mouse_event.rs
@@ -1,6 +1,6 @@
1
use serde::{Deserialize, Serialize};
2
3
-use crate::Pos;
+use crate::{Delta, Pos};
4
5
use super::{EventSource, MouseButton};
6
@@ -19,5 +19,5 @@ pub struct MouseEvent {
19
/// The mouse position on the lighthouse grid.
20
pub pos: Pos<f64>,
21
/// The mouse movement on the lighthouse grid.
22
- pub movement: Pos<f64>,
+ pub movement: Delta<f64>,
23
}
0 commit comments