From 62e8a4889caa1e8e77c5d591063acb036985cae5 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Wed, 15 Oct 2008 15:26:15 +0200 Subject: [PATCH] Small cleanup --- Bar.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Bar.lua b/Bar.lua index 205411c..45d4bae 100644 --- a/Bar.lua +++ b/Bar.lua @@ -118,7 +118,7 @@ function Bartender4.Bar:Create(id, config, name) edgeSize = 16, insets = {left = 5, right = 3, top = 3, bottom = 5} }) - overlay:SetBackdropColor(0, 0, 0, 0) + overlay:SetBackdropColor(0, 1, 0, 0.5) overlay:SetBackdropBorderColor(0.5, 0.5, 0, 0) overlay.Text = overlay:CreateFontString(nil, "ARTWORK") overlay.Text:SetFontObject(GameFontNormal) @@ -180,11 +180,6 @@ function Bar:Unlock() self:DisableVisibilityDriver() self:Show() self.overlay:Show() - if self.config.show == "alwayshide" then - self.overlay:SetBackdropColor(1, 0, 0, 0.5) - else - self.overlay:SetBackdropColor(0, 1, 0, 0.5) - end end function Bar:Lock()