mirror of
https://github.com/appium/appium.git
synced 2026-04-29 06:50:56 -05:00
Fix defaults for swipe duration
This commit is contained in:
@@ -953,7 +953,10 @@ androidController.performTouch = function (gestures, cb) {
|
||||
var gesture = gestures.shift();
|
||||
if (typeof gesture === "undefined") return cb(null, res);
|
||||
|
||||
this.doTouchAction(gesture.action, gesture.options, cycleThroughGestures);
|
||||
var action = gesture.action;
|
||||
var options = gesture.options || {};
|
||||
|
||||
this.doTouchAction(action, options, cycleThroughGestures);
|
||||
}.bind(this);
|
||||
cycleThroughGestures();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user