hotfix dimensions.lua
This commit is contained in:
parent
7de41e16e1
commit
4fad999a5b
|
@ -35,8 +35,8 @@ local function updateResolution(ratio)
|
|||
local screenWidth, screenHeight = game.GetResolution()
|
||||
if screenWidth ~= dimtable.screen.width or screenHeight ~= dimtable.screen.height then
|
||||
dimtable.screen.width, dimtable.screen.height = screenWidth, screenHeight
|
||||
dimtable.view.width, dimtable.view.height = ratio * dimtable.screen.height, dimtable.screen.height
|
||||
end
|
||||
dimtable.view.width, dimtable.view.height = ratio * dimtable.screen.height, dimtable.screen.height
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -869,7 +869,6 @@ end
|
|||
render = function(deltaTime)
|
||||
|
||||
Dim.updateResolution()
|
||||
game.Log(Dim.view.width,game.LOGGER_ERROR)
|
||||
Wallpaper.render()
|
||||
|
||||
Dim.transformToDesignSpace()
|
||||
|
|
Loading…
Reference in New Issue