Skip to content

Commit 62488a5

Browse files
jmaesoKazuCocoa
authored andcommitted
bugfix_swipe_with_deltas (#405)
1 parent fdeec0d commit 62488a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appium_lib/device/touch_actions.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def swipe(opts)
146146

147147
press x: start_x, y: start_y
148148
wait(duration) if duration
149-
move_to x: delta_x, y: delta_y
149+
move_to x: start_x + delta_x, y: start_y + delta_y
150150
release
151151
self
152152
end

0 commit comments

Comments
 (0)