mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
cooldown: align text to the actual cooldown frame
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user