From 8aa19f733450d5844a651955ba38aaa52d91f68c Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 11 Apr 2015 23:40:39 +0400 Subject: [PATCH] To catch up with Elv's stuff for texture transparency and shit Maybe will return to it later and make another option. too lazy atm tho --- ElvUI_SLE/modules/backgrounds.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ElvUI_SLE/modules/backgrounds.lua b/ElvUI_SLE/modules/backgrounds.lua index 714d794..f9c0af6 100644 --- a/ElvUI_SLE/modules/backgrounds.lua +++ b/ElvUI_SLE/modules/backgrounds.lua @@ -24,13 +24,10 @@ local function CreateFrames() v[1]:Hide() end - BGb.tex:SetAlpha(0.5) - - --Also the problem. As long as bottom bg can be transparent it's no good in keeping fixed transparency for the texture. - --Maybe add an option to change this from using Elv's trnsparency to additional user-set one? - BGl.tex:SetAlpha(E.db.general.backdropfadecolor.a - 0.7 > 0 and E.db.general.backdropfadecolor.a - 0.7 or 0.5) - BGr.tex:SetAlpha(E.db.general.backdropfadecolor.a - 0.7 > 0 and E.db.general.backdropfadecolor.a - 0.7 or 0.5) - BGa.tex:SetAlpha(E.db.general.backdropfadecolor.a - 0.7 > 0 and E.db.general.backdropfadecolor.a - 0.7 or 0.5) + BGb.tex:SetAlpha(E.db.general.backdropfadecolor.a or 0.5) + BGl.tex:SetAlpha(E.db.general.backdropfadecolor.a or 0.5) + BGr.tex:SetAlpha(E.db.general.backdropfadecolor.a or 0.5) + BGa.tex:SetAlpha(E.db.general.backdropfadecolor.a or 0.5) end --Frames Size -- 1.7.9.5