mask applied to icons

This commit is contained in:
Sumsebrum
2021-05-19 14:57:29 +02:00
parent 3a846add3b
commit 4f774b1ddb
7 changed files with 10 additions and 3 deletions

View File

@ -508,6 +508,7 @@ function BuffsDebuffs:AddAura(unit, spellID, auraType, duration, timeLeft, stack
aura = CreateFrame("Frame")
aura:SetFrameLevel(3)
aura.texture = aura:CreateTexture(nil, "BACKGROUND")
aura.texture:SetMask("Interface\\AddOns\\Gladdy\\Images\\mask")
aura.texture:SetAllPoints(aura)
aura.cooldowncircle = CreateFrame("Cooldown", nil, aura, "CooldownFrameTemplate")
aura.cooldowncircle:SetFrameLevel(4)