UnitFrames/Auras: Fix aura filters and nameplate buff text

This commit is contained in:
andrew6180
2023-05-31 15:42:08 -07:00
parent cbaf9f0bb3
commit ed5c418576
3 changed files with 19 additions and 5 deletions
+2 -2
View File
@@ -167,8 +167,8 @@ end
function E:CreateCooldownTimer(parent, displayParent)
local timer = CreateFrame("Frame", parent:GetName() and parent:GetName().."Timer" or nil, displayParent)
parent:HookScript("OnHide", function() timer:Hide() end)
parent:HookScript("OnShow", function() timer:Show() end)
parent:HookScript("OnHide", function(self) if self:GetParent().isNamePlate then return end timer:Hide() end)
parent:HookScript("OnShow", function(self) timer:Show() end)
timer:SetFrameLevel(parent:GetFrameLevel() + 1)
timer:Hide()
timer:SetAllPoints(parent)