修正只有屏幕宽度异常时自动刷新窗口尺寸
This commit is contained in:
@@ -688,7 +688,7 @@ function love.run()
|
||||
updatePowerInfo()
|
||||
lastFreshPow=time
|
||||
end
|
||||
if gc.getWidth()~=SCR.w then
|
||||
if gc.getWidth()~=SCR.w or gc.getHeight()~=SCR.h then
|
||||
love.resize(gc.getWidth(),gc.getHeight())
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user