mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-30 00:21:02 +03:00
Merge pull request #4624 from fufesou/fix/win_trackpad
fix win trackpad, wheel delta
This commit is contained in:
@@ -862,7 +862,7 @@ pub fn handle_mouse_(evt: &MouseEvent, conn: i32) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
if is_track_pad {
|
if !is_track_pad {
|
||||||
x *= WHEEL_DELTA as i32;
|
x *= WHEEL_DELTA as i32;
|
||||||
y *= WHEEL_DELTA as i32;
|
y *= WHEEL_DELTA as i32;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user