unitframes: use pixel aware powerbar spacing

This commit is contained in:
shagu
2025-07-24 20:35:17 +02:00
parent ad3c16948d
commit fd6a5abe75
+1 -1
View File
@@ -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