Commit 6671bc51 authored by Azilroka's avatar Azilroka
Browse files

ArkInventory

parent ea49e024
......@@ -90,12 +90,14 @@ function AS:ArkInventory()
parent:SetBackdropColor(unpack(AS.BackdropColor))
end)
hooksecurefunc(ArkInventory, 'Frame_Item_Update_Clickable', function(frame)
local obj = _G[frame:GetName()..ArkInventory.Const.Frame.Cooldown.Name]
if obj then
ElvUI[1]:RegisterCooldown(obj)
end
end)
if AS:CheckAddOn('ElvUI') then
hooksecurefunc(ArkInventory, 'Frame_Item_Update_Clickable', function(frame)
local obj = _G[frame:GetName()..ArkInventory.Const.Frame.Cooldown.Name]
if obj then
ElvUI[1]:RegisterCooldown(obj)
end
end)
end
end
AS:RegisterSkin('ArkInventory', AS.ArkInventory)
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