diff --git a/modules/pixelperfect.lua b/modules/pixelperfect.lua index b8b0b7f6..ec4166d4 100644 --- a/modules/pixelperfect.lua +++ b/modules/pixelperfect.lua @@ -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