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