diff options
| author | HampusM <hampus@hampusmat.com> | 2026-07-13 15:46:36 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-07-13 15:46:36 +0200 |
| commit | e90094445514effb65ac3bec05a9f5896cdc49db (patch) | |
| tree | 8c0baebe93c129f6db97b8b4f5f4f52f2fa32dfa /engine/src/windowing/mouse.rs | |
| parent | ce2c05217251a6b87c20956889bf84953000f096 (diff) | |
refactor(engine): store mouse inputs in mutex in windowing shared state
Diffstat (limited to 'engine/src/windowing/mouse.rs')
| -rw-r--r-- | engine/src/windowing/mouse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/src/windowing/mouse.rs b/engine/src/windowing/mouse.rs index abe2ab7..3145a17 100644 --- a/engine/src/windowing/mouse.rs +++ b/engine/src/windowing/mouse.rs @@ -18,7 +18,7 @@ pub struct Mouse /// been affected by cursor acceleration pub position: PhysicalPosition<f64>, - pub scroll_delta: ScrollDelta, + pub curr_tick_scroll_delta: ScrollDelta, } #[derive(Debug, Clone, Default)] |
