fix: duplicate assign

This commit is contained in:
lilong.129
2024-08-21 14:37:30 +08:00
parent 37f3d6d689
commit 3ed72a8b25
2 changed files with 2 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ package uixt
import (
"fmt"
"github.com/rs/zerolog/log"
)
@@ -110,8 +111,6 @@ func (dExt *DriverExt) DoubleTapXY(x, y float64) error {
x = x * float64(dExt.windowSize.Height)
y = y * float64(dExt.windowSize.Width)
}
x = x * float64(dExt.windowSize.Width)
y = y * float64(dExt.windowSize.Height)
return dExt.Driver.DoubleTapFloat(x, y)
}