Skip to content

Commit

Permalink
savedinstances shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Nov 17, 2023
1 parent 503c0f1 commit 7e9fb77
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ElvUI_EltreumUI/Modules/Skins/SetTemplate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,17 @@ function ElvUI_EltreumUI:SetTemplateSkin()
end)
end

--possible widget shadows

if E.db.ElvUI_EltreumUI.skins.shadow.enable then
--saved instances shadow
if frame:GetParent() and frame:GetParent().key and frame:GetParent().key == "SavedInstancesTooltip" then
if not frame.shadow then
frame:CreateShadow(E.db.ElvUI_EltreumUI.skins.shadow.length)
ElvUI_EltreumUI:ShadowColor(frame.shadow)
end
end

--possible widget shadows
if frame:GetParent() and frame:GetParent():GetParent() then
if frame:GetParent():GetParent().widgetContainer then
if not frame.shadow then
Expand Down

0 comments on commit 7e9fb77

Please sign in to comment.