From d4ab850e7b2a3017a0d07bdd688e9bdfdc328cc8 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 22 Aug 2021 02:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BF=AE=E5=A4=8D=E4=B9=8B?= =?UTF-8?q?=E5=89=8D15p=E7=9B=B2=E6=89=93=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/app_15p.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/scenes/app_15p.lua b/parts/scenes/app_15p.lua index c85eee95..39ecf499 100644 --- a/parts/scenes/app_15p.lua +++ b/parts/scenes/app_15p.lua @@ -12,6 +12,7 @@ local move,push,state local color,blind='color1' local slide,pathVis,revKB +local function ifGaming()return state==1 end local colorSelector=WIDGET.newSelector{name="color",x=150,y=240,w=200,list={'color1','rainbow','color2','gray','black'},color='lY',disp=function()return color end, code=function(v)if state~=1 then color=v end end,hideF=ifGaming} function scene.sceneInit() @@ -316,7 +317,6 @@ function scene.draw() gc.rectangle('line',cx*160+173,cy*160-107,134,134,50) end -local function ifGaming()return state==1 end scene.widgetList={ WIDGET.newButton{name="reset", x=160,y=100,w=180,h=100,color='lG', font=40,code=pressKey"space"}, colorSelector,