From 7b6638ae10b6c5ee6aef65e94cf78c58fe364124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=B3=93=E9=93=AE?= Date: Fri, 16 Aug 2024 12:07:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9D=90=E6=A0=87?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=A2=AB=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hrp/pkg/uixt/tap.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hrp/pkg/uixt/tap.go b/hrp/pkg/uixt/tap.go index f52b5785..30269fcf 100644 --- a/hrp/pkg/uixt/tap.go +++ b/hrp/pkg/uixt/tap.go @@ -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) }