控件名字符串改用单引号

This commit is contained in:
MrZ626
2021-10-27 01:03:15 +08:00
parent cf57161174
commit 5a568df6cd
58 changed files with 615 additions and 615 deletions

View File

@@ -400,9 +400,9 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newButton{name="reset",x=80,y=60,w=110,h=60,color='lG',code=pressKey"r",hideF=function()return state==0 end},
WIDGET.newSwitch{name="invis",x=100,y=140,lim=80,disp=function()return invis end,code=pressKey"q",hideF=function()return state==1 end},
WIDGET.newButton{name="back",x=1200,y=660,w=110,font=50,fText=CHAR.icon.back,code=pressKey"escape"},
WIDGET.newButton{name='reset',x=80,y=60,w=110,h=60,color='lG',code=pressKey"r",hideF=function()return state==0 end},
WIDGET.newSwitch{name='invis',x=100,y=140,lim=80,disp=function()return invis end,code=pressKey"q",hideF=function()return state==1 end},
WIDGET.newButton{name='back',x=1200,y=660,w=110,font=50,fText=CHAR.icon.back,code=pressKey"escape"},
}
return scene