Skip to content

Commit 82928ce

Browse files
committed
Fix scroll up on linux
1 parent 2cc1e71 commit 82928ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Desktop.Robot/Linux/Robot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public override void MouseScrollVertical(int value)
7474
if (value < 0)
7575
{
7676
click(true, Common.UP_BUTTON);
77-
Thread.Sleep(value);
77+
Thread.Sleep(-value);
7878
click(false, Common.UP_BUTTON);
7979
}
8080
else

0 commit comments

Comments
 (0)