补充修复之前15p盲打报错的一个小问题

This commit is contained in:
MrZ626
2021-08-22 02:04:23 +08:00
parent edf6e075f2
commit d4ab850e7b

View File

@@ -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,