fix: 修复坐标点击被覆盖

This commit is contained in:
余泓铮
2024-08-16 12:07:44 +08:00
parent 29566e9049
commit 7b6638ae10

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