电脑不再默认全屏,增加f11开关全屏功能,整理代码

This commit is contained in:
MrZ626
2021-01-24 13:45:13 +08:00
parent 515c6f93a8
commit aad36f44c1
5 changed files with 14 additions and 8 deletions

View File

@@ -217,6 +217,8 @@ function love.keypressed(i)
if i=="f8"then
devMode=1
LOG.print("DEBUG ON",COLOR.yellow)
elseif i=="f11"then
switchFullscreen()
else
if SCN.swapping then return end