mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 02:30:50 +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)
|
UIParent:SetScale(.9)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
UIParent:SetScale(statics[conf])
|
local scale = conf and statics[conf] or 1
|
||||||
|
|
||||||
|
SetCVar("uiScale", scale)
|
||||||
|
SetCVar("useUiScale", 1)
|
||||||
|
|
||||||
|
UIParent:SetScale(scale)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user