Skip to content

Commit

Permalink
windows: revert scrolling multiplier
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Apr 12, 2024
1 parent 633d2c3 commit f0099ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emulate/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ fn scroll(axis: u8, value: f64) {
let mi = MOUSEINPUT {
dx: 0,
dy: 0,
mouseData: (-value * 15.0) as i32 as u32,
mouseData: -value as i32 as u32,
dwFlags: event_type,
time: 0,
dwExtraInfo: 0,
Expand Down

0 comments on commit f0099ee

Please sign in to comment.