From 030956bdb82fdcc6b82d642cd8c80d00a2b11a52 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 14 Mar 2021 01:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=AE=E7=9B=98=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E7=A7=BB=E5=8A=A8=E7=84=A6=E7=82=B9=E5=88=B0=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E7=9A=84=E6=8C=89=E9=92=AE=E4=B8=8A?= 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 9866856a..05ee01e0 100644 --- a/Zframework/widget.lua +++ b/Zframework/widget.lua @@ -1067,7 +1067,7 @@ function WIDGET.keyPressed(k) local swap_xy=k=="up"or k=="down" if swap_xy then WX,WY=WY,WX end -- note that we do not swap them back later for _,W1 in ipairs(WIDGET.active)do - if W~=W1 and W1.resCtr and not(W.hide==true or W.hide and W.hide())then + if W~=W1 and W1.resCtr and not(W1.hide==true or W1.hide and W1.hide())then local L=W1.resCtr for j=1,#L,2 do local x,y=L[j],L[j+1]