From fd6a5abe75f3462cbb28ee0291d913f06e4f2174 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 24 Jul 2025 20:35:17 +0200 Subject: [PATCH] unitframes: use pixel aware powerbar spacing --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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