Commit 2a8a35d8 authored by Azilroka's avatar Azilroka

WA: Icon can be on everything

parent 02731352
......@@ -22,14 +22,13 @@ function AS:WeakAuras()
end
end
if ftype == 'icon' then
if frame.icon then
if not frame["keepAspectRatio"] then
AS:SkinTexture(frame.icon)
frame.icon.SetTexCoord = AS.Noop
else
frame.icon.SetTexCoord = nil
end
if AS:CheckOption('WeakAuraIconCooldown', 'ElvUI') then
ElvUI[1]:RegisterCooldown(frame.cooldown)
ElvUI[1]:UpdateCooldownSettings('global')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment