mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
pixelperfect: add fallback and always set cvars
This commit is contained in:
@@ -22,7 +22,12 @@ pfUI:RegisterModule("pixelperfect", "vanilla:tbc", function ()
|
||||
UIParent:SetScale(.9)
|
||||
end
|
||||
else
|
||||
UIParent:SetScale(statics[conf])
|
||||
local scale = conf and statics[conf] or 1
|
||||
|
||||
SetCVar("uiScale", scale)
|
||||
SetCVar("useUiScale", 1)
|
||||
|
||||
UIParent:SetScale(scale)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user