From da966c3fff497e59cff4aab177fe269d996008c8 Mon Sep 17 00:00:00 2001 From: Repooc Date: Sat, 29 Sep 2012 23:36:43 -0500 Subject: [PATCH] Fixed Background Panels & Pet Battle Bar Overlapping Issues Signed-off-by: Repooc --- ElvUI_SLE/modules/backgrounds/backgrounds.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ElvUI_SLE/modules/backgrounds/backgrounds.lua b/ElvUI_SLE/modules/backgrounds/backgrounds.lua index a6b3c2b..db96084 100644 --- a/ElvUI_SLE/modules/backgrounds/backgrounds.lua +++ b/ElvUI_SLE/modules/backgrounds/backgrounds.lua @@ -11,7 +11,8 @@ function BG:FramesCreate() --Bottom BGbottom:CreateBackdrop(E.private.sle.backgrounds.bottom.template); BGbottom.backdrop:SetAllPoints(); - BGbottom:SetFrameLevel(5); + BGbottom:SetFrameLevel(BGbottom:GetFrameLevel() - 1) + --BGbottom:SetFrameLevel(5); BGbottom:SetFrameStrata('BACKGROUND'); BGbottom:EnableMouse(true) --Texture @@ -21,7 +22,7 @@ function BG:FramesCreate() --Left BGleft:CreateBackdrop(E.private.sle.backgrounds.left.template); BGleft.backdrop:SetAllPoints(); - BGleft:SetFrameLevel(5); + BGleft:SetFrameLevel(BGleft:GetFrameLevel() - 1) BGleft:SetFrameStrata('BACKGROUND'); --Texture BGleft.tex = BGleft:CreateTexture(nil, 'OVERLAY') @@ -30,7 +31,7 @@ function BG:FramesCreate() --Right BGright:CreateBackdrop(E.private.sle.backgrounds.right.template); BGright.backdrop:SetAllPoints(); - BGright:SetFrameLevel(5); + BGright:SetFrameLevel(BGright:GetFrameLevel() - 1) BGright:SetFrameStrata('BACKGROUND'); --Texture BGright.tex = BGright:CreateTexture(nil, 'OVERLAY') @@ -39,7 +40,7 @@ function BG:FramesCreate() --Action BGaction:CreateBackdrop(E.private.sle.backgrounds.action.template); BGaction.backdrop:SetAllPoints(); - BGaction:SetFrameLevel(5); + BGaction:SetFrameLevel(BGaction:GetFrameLevel() - 1) BGaction:SetFrameStrata('BACKGROUND'); BGaction:EnableMouse(true) --Texture -- 1.7.9.5