diff --git a/api/unitframes.lua b/api/unitframes.lua index 2d30d609..dadd13e9 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -488,7 +488,7 @@ function pfUI.uf:UpdateConfig() end f.power:ClearAllPoints() - f.power:SetPoint(f.config.panchor, f.hp, relative_point, f.config.poffx, -2*default_border - f.config.pspace + f.config.poffy * GetPerfectPixel()) + f.power:SetPoint(f.config.panchor, f.hp, relative_point, f.config.poffx, -2 * default_border - spacing + f.config.poffy * GetPerfectPixel()) f.power:SetWidth((f.config.pwidth ~= "-1" and f.config.pwidth or f.config.width)) f.power:SetHeight(f.config.pheight) if tonumber(f.config.pheight) < 0 then f.power:Hide() end