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