mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Merge pull request #4615 from fufesou/fix/trackpad_flutter_macos
debug, macos trackpad, flutter
This commit is contained in:
@@ -614,11 +614,6 @@ impl Enigo {
|
||||
scroll_direction *= -1;
|
||||
}
|
||||
|
||||
// fix scroll distance for track pad
|
||||
if is_track_pad {
|
||||
length *= 3;
|
||||
}
|
||||
|
||||
if let Some(src) = self.event_source.as_ref() {
|
||||
for _ in 0..length {
|
||||
unsafe {
|
||||
|
||||
Reference in New Issue
Block a user