cooldown: add tbc support for custom cooldown font

introduced via: https://github.com/shagu/pfUI/pull/1480
This commit is contained in:
shagu
2025-06-24 11:46:44 +02:00
parent 89a2e53e27
commit e277c501e6
+1 -1
View File
@@ -77,7 +77,7 @@ pfUI:RegisterModule("cooldown", "vanilla:tbc", function ()
size = math.max((height > 0 and height * .64 or 16), size)
end
cooldown.pfCooldownText.text:SetFont(C.appearance.cd.font, size, "OUTLINE")
cooldown.pfCooldownText.text:SetFont(pfUI.media[C.appearance.cd.font], size, "OUTLINE")
cooldown.pfCooldownText.text:SetPoint("CENTER", cooldown.pfCooldownText, "CENTER", 0, 0)
cooldown.pfCooldownText:SetScript("OnUpdate", pfCooldownOnUpdate)
end