Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions LuaMenu/widgets/api_chili.lua
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,11 @@ function widget:ViewResize(vsx, vsy)
if totalHideInterface then
return
end
vsx, vsy = vsx/(WG.uiScale or 1), vsy/(WG.uiScale or 1)
oldSizeX, oldSizeY = vsx, vsy
screen0:Resize(vsx, vsy)
local ssx, ssy = vsx/(WG.uiScale or 1), vsy/(WG.uiScale or 1)
if oldSizeX ~= vsx or oldSizeY ~= vsy then
oldSizeX, oldSizeY = vsx, vsy
screen0:Resize(ssx, ssy)
end
end

function widget:Update()
Expand Down