From 7810ad7aa61f22ee5b174e38a0a6beeae47a56bb Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 16 Oct 2020 16:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E8=BE=93=E5=87=BA=E5=9D=90=E6=A0=87=E9=94=99?= =?UTF-8?q?=E8=AF=AF(debug=E5=8A=9F=E8=83=BD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/widget.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Zframework/widget.lua b/Zframework/widget.lua index 8d191d38..e4c95d26 100644 --- a/Zframework/widget.lua +++ b/Zframework/widget.lua @@ -389,7 +389,7 @@ function selector:draw() mStr(self.selText,x+w*.5,y+43-21) end function selector:getInfo() - return format("x=%d,y=%d,w=%d",self.x,self.y,self.w) + return format("x=%d,y=%d,w=%d",self.x+self.w*.5,self.y+30,self.w) end local keyboardNames={--15*5 keys @@ -776,7 +776,6 @@ function WIDGET.keyPressed(i) W.change() end elseif W.type=="selector"then - print(1) local s=W.select if i=="left"then if s>1 then