From 2b29bb4625a2c5ec6484b6cd28c1dbedbe731433 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 18 Oct 2020 00:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=81=E7=AE=80=E6=8F=90=E7=A4=BA=E9=9F=B3?= =?UTF-8?q?=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/widgetList.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/widgetList.lua b/Zframework/widgetList.lua index 1decc9d8..6029f598 100644 --- a/Zframework/widgetList.lua +++ b/Zframework/widgetList.lua @@ -398,7 +398,7 @@ local Widgets={ newButton({name="layout", x=460, y=540, w=140,h=70, font=35,code=goScene("setting_skin")}), newSwitch({name="autoPause",x=1080, y=320, font=20,disp=SETval("autoPause"), code=SETrev("autoPause")}), newSwitch({name="swap", x=1080, y=380, font=20,disp=SETval("swap"), code=SETrev("swap")}), - newSwitch({name="fine", x=1080, y=440, font=20,disp=SETval("fine"), code=SETrev("fine")}), + newSwitch({name="fine", x=1080, y=440, font=20,disp=SETval("fine"), code=function()setting.fine=not setting.fine if setting.fine then SFX.play("finesseError",.6) end end}), newSwitch({name="appLock", x=1080, y=500, font=20,disp=SETval("appLock"), code=SETrev("appLock")}), newButton({name="calc", x=970, y=550, w=150,h=60,color="dGrey", font=25,code=goScene("calculator"),hide=function()return not setting.appLock end}), newButton({name="back", x=1140, y=640, w=170,h=80, font=40,code=BACK}),