change: handlerTapAbsXY

This commit is contained in:
lilong.129
2025-05-07 17:15:20 +08:00
parent 81f29cdef5
commit 032a130418
7 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ func (ad *ADBDriver) TapXY(x, y float64, opts ...option.ActionOption) error {
func (ad *ADBDriver) TapAbsXY(x, y float64, opts ...option.ActionOption) error {
log.Info().Float64("x", x).Float64("y", y).Msg("ADBDriver.TapAbsXY")
var err error
x, y, _, err = handlerTapAbsXY(ad, x, y, opts...)
x, y, err = handlerTapAbsXY(ad, x, y, opts...)
if err != nil {
return err
}