整理代码

This commit is contained in:
MrZ626
2020-12-06 15:35:33 +08:00
parent f7c2d5f9e7
commit d93eea4e56
2 changed files with 1 additions and 10 deletions

View File

@@ -62,14 +62,6 @@ end
local scene={}
function scene.keyDown(key)
if key=="escape"then
SCN.back()
else
WIDGET.keyPressed(key)
end
end
scene.widgetList={
WIDGET.newText{name="title", x=80, y=50,font=70,align="L"},
WIDGET.newButton{name="register", x=1140, y=100,w=170,h=80,color="green",code=function()SCN.swapTo("register","swipeR")end},