移除加载时可能的强制重启(防止ios出问题)

几处love退出改为去quit场景(防止ios出问题)
整理代码
框架跟进
This commit is contained in:
MrZ_26
2022-11-06 17:28:54 +08:00
parent d932febe89
commit f70edaac83
66 changed files with 252 additions and 312 deletions

View File

@@ -117,14 +117,14 @@ local function _pDraw()
while #F>0 and isEmpty(F[#F]) do rem(F) end
end
function scene.sceneInit()
function scene.enter()
curPen=false
penMode=0
penX,penY=1,1
demo=false
page=1
end
function scene.sceneBack()
function scene.leave()
saveFile(DATA.copyBoards(),'conf/customBoards')
end