debug, macos trackpad, flutter

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-06-11 15:56:09 +08:00
parent f72ed0d3e5
commit 6e21f8410a
3 changed files with 17 additions and 14 deletions

View File

@@ -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 {