From 5fea32203abaa7ef9765c5a6a8924bcf50194ca4 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 9 Feb 2021 15:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98dpi=E5=B1=8F=E5=B9=95=E6=8B=96?= =?UTF-8?q?=E5=8A=A8=E6=96=87=E6=9C=AC=E6=A1=86=E9=80=9F=E5=BA=A6=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/widget.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/widget.lua b/Zframework/widget.lua index 54a77e20..2d0aabde 100644 --- a/Zframework/widget.lua +++ b/Zframework/widget.lua @@ -839,7 +839,7 @@ function textBox:push(t) end end function textBox:drag(_,_,_,dy) - _=self.scrollPix+dy + _=self.scrollPix+dy*SCR.dpi local sign=_>0 and 1 or -1 while abs(_)>30 do _=_-30*sign