Skip to content

Commit

Permalink
rename and add merchant tab
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Mar 29, 2023
1 parent 48ff11f commit 9fa190b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end
local tabSkinned = false

--simple tab skin
function ElvUI_EltreumUI:EltruismAuctionator()
function ElvUI_EltreumUI:EltruismAuction()
if E.private.skins.blizzard.enable then
if E.Retail then
_G["AuctionHouseFrame"]:HookScript("OnShow",function()
Expand Down Expand Up @@ -57,7 +57,16 @@ function ElvUI_EltreumUI:EltruismAuctionator()
end
end
end
--S:AddCallbackForAddon('Auctionator', "EltruismAuctionator", ElvUI_EltreumUI.EltruismAuctionator)
--S:AddCallbackForAddon('TradeSkillMaster', "EltruismAuctionator", ElvUI_EltreumUI.EltruismAuctionator)
S:AddCallbackForAddon('Blizzard_AuctionHouseUI', "EltruismAuctionator", ElvUI_EltreumUI.EltruismAuctionator)
S:AddCallbackForAddon('Blizzard_AuctionUI', "EltruismAuctionator", ElvUI_EltreumUI.EltruismAuctionator)
S:AddCallbackForAddon('Blizzard_AuctionHouseUI', "EltruismAuctionator", ElvUI_EltreumUI.EltruismAuction)
S:AddCallbackForAddon('Blizzard_AuctionUI', "EltruismAuctionator", ElvUI_EltreumUI.EltruismAuction)

function ElvUI_EltreumUI:EltruismScrap()
if _G["MerchantFrameSecureTab0"] then
S:HandleTab(_G["MerchantFrameSecureTab0"])
if E.db.ElvUI_EltreumUI.skins.shadow.enable and _G["MerchantFrameSecureTab0"].backdrop and not _G["MerchantFrameSecureTab0"].backdrop.shadow then
_G["MerchantFrameSecureTab0"].backdrop:CreateShadow(E.db.ElvUI_EltreumUI.skins.shadow.length)
if EnhancedShadows then EnhancedShadows:RegisterShadow(_G["MerchantFrameSecureTab0"].backdrop.shadow) end
end
end
end
S:AddCallbackForAddon('Scrap_Merchant', "EltruismScrap", ElvUI_EltreumUI.EltruismScrap)
2 changes: 1 addition & 1 deletion ElvUI_EltreumUI/Modules/Skins/Addons/load_addons.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file='Auctionator.lua'/>
<Script file='Other.lua'/>
<Script file='BigWigs.lua'/>
<Script file='Details.lua'/>
<Script file='BugSack.lua'/>
Expand Down

0 comments on commit 9fa190b

Please sign in to comment.