summaryrefslogtreecommitdiffstats
path: root/features/support/helpers/sikuli_helper.rb
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2016-12-01 02:15:17 +0100
committeranonym <anonym@riseup.net>2016-12-01 02:15:17 +0100
commit3e00e7b346e281f2720f497eecef6da8492d21be (patch)
tree0e5b669991f2ee4a30bab38f8df9b05be9e5512b /features/support/helpers/sikuli_helper.rb
parent0667f678ae5431c6e8b8ba757798cec77b04afc5 (diff)
Do not hover outside of Sikuli's screen.
Again, the max x-coordinate is the screen's width - 1.
Diffstat (limited to 'features/support/helpers/sikuli_helper.rb')
-rw-r--r--features/support/helpers/sikuli_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/helpers/sikuli_helper.rb b/features/support/helpers/sikuli_helper.rb
index ab0b9dc..4455ecc 100644
--- a/features/support/helpers/sikuli_helper.rb
+++ b/features/support/helpers/sikuli_helper.rb
@@ -203,7 +203,7 @@ def sikuli_script_proxy.new(*args)
end
def s.hide_cursor
- self.hover_point(self.w, self.h/2)
+ self.hover_point(self.w - 1, self.h/2)
end
s