cooldown: add fontsize option for frametypes

This commit is contained in:
shagu
2019-12-04 17:29:07 +01:00
parent 59f9b5c0ba
commit c90c0ea8ba
4 changed files with 15 additions and 5 deletions
+3 -3
View File
@@ -46,13 +46,13 @@ pfUI:RegisterModule("skin", "vanilla:tbc", function ()
if C.appearance.cd.blizzard == "1" then
hooksecurefunc("PaperDollItemSlotButton_Update", function()
local cooldown = _G[this:GetName().."Cooldown"]
if cooldown then cooldown.pfCooldownType = "ALL" end
local cooldown = _G[this:GetName().."Cooldown"]
if cooldown then cooldown.pfCooldownType = "BLIZZARD" end
end)
hooksecurefunc("SpellButton_UpdateButton", function()
local cooldown = _G[this:GetName().."Cooldown"]
if cooldown then cooldown.pfCooldownType = "ALL" end
if cooldown then cooldown.pfCooldownType = "BLIZZARD" end
end)
end