电脑不再默认全屏,增加f11开关全屏功能,整理代码
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user