cooldown: add option for custom cooldown fonts

This commit is contained in:
dbulatovicx32
2025-05-25 14:13:08 +02:00
committed by GitHub
parent 2969f1f9be
commit 85998d81c7
3 changed files with 8 additions and 1 deletions
+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(pfUI.font_unit, size, "OUTLINE")
cooldown.pfCooldownText.text:SetFont(C.appearance.cd.font, size, "OUTLINE")
cooldown.pfCooldownText.text:SetPoint("CENTER", cooldown.pfCooldownText, "CENTER", 0, 0)
cooldown.pfCooldownText:SetScript("OnUpdate", pfCooldownOnUpdate)
end