整理代码

This commit is contained in:
MrZ626
2021-05-25 15:55:10 +08:00
parent 58e5118d45
commit 0f3dd61249
3 changed files with 1 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ local SETTING,GAME,SCR=SETTING,GAME,SCR
function switchFullscreen()
SETTING.fullscreen=not SETTING.fullscreen
love.window.setFullscreen(SETTING.fullscreen)
love.resize(love.graphics.getWidth(),love.graphics.getHeight())
love.resize(gc.getWidth(),gc.getHeight())
end