From
https://github.com/p3lim-wow/Inomena...er/scaling.lua
Lua Code:
function E:PLAYER_LOGIN()
local width, height = GetPhysicalScreenSize()
if((768 / height) < (768 / 1200)) then
-- Game can't scale further than 0.64
-- Instead we change the UI scale to 1 and the UIParent scale to the correct one
SetCVar('useuiscale', 1)
SetCVar('uiscale', 1)
UIParent:SetScale(768 / height)
else
SetCVar('useuiscale', 0)
end
end