From e277c501e6c371917bd1e685a9f757f57c118396 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 24 Jun 2025 11:31:59 +0200 Subject: [PATCH] cooldown: add tbc support for custom cooldown font introduced via: https://github.com/shagu/pfUI/pull/1480 --- modules/cooldown.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cooldown.lua b/modules/cooldown.lua index 2e941465..0a293940 100644 --- a/modules/cooldown.lua +++ b/modules/cooldown.lua @@ -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