From b558cf7bc2b909745f25a5f84bce31e3ba6327ce Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 4 Oct 2020 18:33:34 +0200 Subject: [PATCH] cooldown: align text to the actual cooldown frame --- modules/cooldown.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index bda11302..159c8aa5 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -35,7 +35,7 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function () local function pfCreateCoolDown(cooldown, start, duration) cooldown.pfCooldownText = CreateFrame("Frame", "pfCooldownFrame", cooldown:GetParent()) - cooldown.pfCooldownText:SetAllPoints(cooldown:GetParent()) + cooldown.pfCooldownText:SetAllPoints(cooldown) cooldown.pfCooldownText:SetFrameLevel(cooldown:GetParent():GetFrameLevel() + 1) cooldown.pfCooldownText.text = cooldown.pfCooldownText:CreateFontString("pfCooldownFrameText", "OVERLAY")