DoubleTap支持绝对坐标

This commit is contained in:
余泓铮
2025-02-24 11:50:36 +08:00
parent 3b509ba6c6
commit 165aab0dc8
8 changed files with 24 additions and 27 deletions

View File

@@ -220,7 +220,7 @@ func (dExt *XTDriver) DoAction(action MobileAction) (err error) {
return fmt.Errorf("invalid tap location params: %v", params)
}
x, y := params[0], params[1]
return dExt.DoubleTapXY(x, y)
return dExt.DoubleTap(x, y)
}
return fmt.Errorf("invalid %s params: %v", ACTION_DoubleTapXY, action.Params)
case ACTION_Swipe: