代码小调整

This commit is contained in:
MrZ_26
2020-08-22 02:04:52 +08:00
parent 7ecadb0ff1
commit e8f0efb22c
2 changed files with 6 additions and 6 deletions

View File

@@ -1270,9 +1270,9 @@ function love.run()
if Timer()-lastFreshPow>2 and setting.powerInfo and loadingFinished then
updatePowerInfo()
lastFreshPow=Timer()
_=gc.getWidth()
if _~=scr.w then
love.resize(_,gc.getHeight())
if gc.getWidth()~=scr.w then
love.resize(gc.getWidth(),gc.getHeight())
TEXT.show("resized",200,100,30,"stretch")
end
end