mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
unitframes: hide cooldown animation on buffs
This commit is contained in:
@@ -572,6 +572,7 @@ function pfUI.uf:UpdateConfig()
|
||||
f.buffs[i].stacks:SetTextColor(1,1,.5)
|
||||
f.buffs[i].cd = f.buffs[i].cd or CreateFrame(COOLDOWN_FRAME_TYPE, nil, f.buffs[i])
|
||||
f.buffs[i].cd.pfCooldownType = "ALL"
|
||||
f.buffs[i].cd:SetAlpha(0)
|
||||
f.buffs[i].id = i
|
||||
|
||||
f.buffs[i]:RegisterForClicks("RightButtonUp")
|
||||
@@ -640,6 +641,7 @@ function pfUI.uf:UpdateConfig()
|
||||
f.debuffs[i].stacks:SetTextColor(1,1,.5)
|
||||
f.debuffs[i].cd = f.debuffs[i].cd or CreateFrame(COOLDOWN_FRAME_TYPE, nil, f.debuffs[i])
|
||||
f.debuffs[i].cd.pfCooldownType = "ALL"
|
||||
f.debuffs[i].cd:SetAlpha(0)
|
||||
f.debuffs[i].id = i
|
||||
|
||||
f.debuffs[i]:RegisterForClicks("RightButtonUp")
|
||||
|
||||
Reference in New Issue
Block a user