mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
fix: failed to filter out point(0,0)
This commit is contained in:
+1
-1
@@ -444,7 +444,7 @@ func (dExt *DriverExt) DoAction(action MobileAction) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
for _, point = range points {
|
for _, point = range points {
|
||||||
if point != (PointF{}) {
|
if point != (PointF{X: 0, Y: 0}) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user