From d84c43e524a625274461b17b80a0f3a4df2ec975 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Fri, 7 Mar 2008 15:42:44 +0000 Subject: [PATCH] beautify text tags on unlocked bars --- Bar.lua | 2 +- MicroMenu.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Bar.lua b/Bar.lua index 3be938a..340856b 100644 --- a/Bar.lua +++ b/Bar.lua @@ -79,7 +79,7 @@ function Bartender4.Bar:Create(id, template, config) overlay:SetBackdropBorderColor(0.5, 0.5, 0, 0) overlay.Text = overlay:CreateFontString(nil, "ARTWORK") overlay.Text:SetFontObject(GameFontNormal) - overlay.Text:SetText("Bar "..id) + overlay.Text:SetText(tonumber(id) and "Bar "..id or id.." Bar") overlay.Text:Show() overlay.Text:ClearAllPoints() overlay.Text:SetPoint("CENTER", overlay, "CENTER") diff --git a/MicroMenu.lua b/MicroMenu.lua index 66afaf4..4717d65 100644 --- a/MicroMenu.lua +++ b/MicroMenu.lua @@ -14,6 +14,7 @@ local table_insert = table.insert local defaults = { profile = Bartender4:Merge({ enabled = true, + vertical = false, }, Bartender4.Bar.defaults) } function MicroMenuMod:OnInitialize()