Commit 02731352 authored by Azilroka's avatar Azilroka

Talentless & WA

parent 80f21e01
-- local AS = unpack(AddOnSkins)
local AS = unpack(AddOnSkins)
-- if not AS:CheckAddOn('Talentless') then return end
if not AS:CheckAddOn('Talentless') then return end
-- function AS:Talentless(event, addon)
-- AS:SkinButton(TalentlessSpecButton1)
-- AS:SkinButton(TalentlessSpecButton2)
-- AS:SkinButton(TalentlessSpecButton3)
-- AS:SkinButton(TalentlessSpecButton4)
-- AS:SkinButton(TalentlessItemButton1)
-- AS:SkinButton(TalentlessItemButton2)
-- end
function AS:Talentless(event, addon)
AS:SkinButton(TalentlessSpecButton1)
AS:SkinButton(TalentlessSpecButton2)
AS:SkinButton(TalentlessSpecButton3)
AS:SkinButton(TalentlessSpecButton4)
AS:SkinButton(TalentlessItemButton1)
AS:SkinButton(TalentlessItemButton2)
end
-- AS:RegisterSkin('Talentless', AS.Talentless)
\ No newline at end of file
AS:RegisterSkin('Talentless', AS.Talentless)
......@@ -23,9 +23,13 @@ function AS:WeakAuras()
end
if ftype == 'icon' then
if not ftype["keepAspectRatio"] 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