From 70a41855d170aeb23f5b61c5bbff6108883001b1 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 22 Jun 2021 12:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A7=E4=BB=B6=E6=9B=B4=E6=96=B0=E6=97=B6?= =?UTF-8?q?=E6=94=B9=E5=9B=9E=E5=85=88=E5=88=B7=E6=96=B0hide=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=86=8D=E9=80=89=E6=8B=A9=E6=98=AF=E5=90=A6update?= 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 4f23e1c0..21c5b24e 100644 --- a/Zframework/widget.lua +++ b/Zframework/widget.lua @@ -1383,13 +1383,13 @@ end function WIDGET.update() for _,W in next,WIDGET.active do - if W.update then W:update()end if W.hideF then W.hide=W.hideF() if W.hide and W==WIDGET.sel then WIDGET.unFocus(true) end end + if W.update then W:update()end end end local widgetCanvas