fix: failed to filter out point(0,0)

This commit is contained in:
xucong.053
2022-10-14 15:28:24 +08:00
parent 8fb9a601a3
commit 64b87bd979

View File

@@ -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
}
}