Skip to content

Commit

Permalink
Try moving it vertically
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Aug 13, 2024
1 parent abcb56b commit a87d6b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/mouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ fn unit_print_move_mouse_rel() {
thread::sleep(delay);
// Github runner display is 1024x768

for i in 1000..=2048 {
let rel_move = (i, 0);
for i in 0..=768 {
let rel_move = (0, i);
enigo.move_mouse(start.0, start.1, Abs).unwrap(); // Move to absolute start position
println!("Relatively move by ({}, {})", rel_move.0, rel_move.1);
enigo.move_mouse(rel_move.0, rel_move.1, Rel).unwrap();
Expand Down

0 comments on commit a87d6b8

Please sign in to comment.