Skip to content

Commit

Permalink
cata guild bank shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Mar 19, 2024
1 parent d6ae7a7 commit 833282b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions ElvUI_EltreumUI/Modules/Skins/Shadows.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,17 @@ function ElvUI_EltreumUI:Shadows()
end
end
if (arg == "Blizzard_GuildBankUI") or IsAddOnLoaded("Blizzard_GuildBankUI") then
if E.Retail then
if not _G.GuildBankFrame.shadow then
_G.GuildBankFrame:CreateShadow(E.db.ElvUI_EltreumUI.skins.shadow.length)
ElvUI_EltreumUI:ShadowColor(_G.GuildBankFrame.shadow)
if E.Retail or E.Cata then
if E.Retail then
if not _G.GuildBankFrame.shadow then
_G.GuildBankFrame:CreateShadow(E.db.ElvUI_EltreumUI.skins.shadow.length)
ElvUI_EltreumUI:ShadowColor(_G.GuildBankFrame.shadow)
end
else
if _G.GuildBankFrame.backdrop and not _G.GuildBankFrame.backdrop.shadow then
_G.GuildBankFrame.backdrop:CreateShadow(E.db.ElvUI_EltreumUI.skins.shadow.length)
ElvUI_EltreumUI:ShadowColor(_G.GuildBankFrame.backdrop.shadow)
end
end
if not _G.GuildBankTab1.Button.shadow then
_G.GuildBankTab1.Button:CreateShadow(E.db.ElvUI_EltreumUI.skins.shadow.length)
Expand Down

0 comments on commit 833282b

Please sign in to comment.