From 6f61b6c82b50b125b0a33a59185689e352fdbb91 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 24 Dec 2017 19:10:57 +0100 Subject: [PATCH] castbar: use a static modifier to calculate height --- modules/castbar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/castbar.lua b/modules/castbar.lua index 24691a3d..0ba31288 100644 --- a/modules/castbar.lua +++ b/modules/castbar.lua @@ -20,7 +20,7 @@ pfUI:RegisterModule("castbar", function () pfUI.castbar.player = CreateFrame("Frame", "pfPlayerCastbar", UIParent) pfUI.castbar.player:SetFrameStrata("MEDIUM") CreateBackdrop(pfUI.castbar.player, default_border) - pfUI.castbar.player:SetHeight(C.global.font_size + default_border) + pfUI.castbar.player:SetHeight(C.global.font_size * 1.5) if pfUI.uf.player then local pspace = tonumber(C.unitframes.player.pspace) @@ -336,7 +336,7 @@ pfUI:RegisterModule("castbar", function () pfUI.castbar.target = CreateFrame("Frame", "pfTargetCastbar", UIParent) pfUI.castbar.target:SetFrameStrata("MEDIUM") CreateBackdrop(pfUI.castbar.target, default_border) - pfUI.castbar.target:SetHeight(C.global.font_size + default_border) + pfUI.castbar.target:SetHeight(C.global.font_size * 1.5) if pfUI.uf.target then local pspace = tonumber(C.unitframes.target.pspace)