From 709e06a084f92befe461147ccdee01de0d93d88e Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 19 Sep 2022 07:29:24 -0600 Subject: [PATCH] token 'hire' to other tab --- Core.lua | 12 +----------- Globals.lua | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Core.lua b/Core.lua index 79431fe..68eb1c0 100644 --- a/Core.lua +++ b/Core.lua @@ -12,6 +12,7 @@ if not addon.tableContains(addon.validLocales, locale) then local LOCALE_WINDOW_WIDTH = 400 local LOCALE_WINDOW_HEIGHT = 200 GroupieFrame = CreateFrame("Frame", "Groupie", UIParent, "PortraitFrameTemplate") + GroupieFrame:Hide() GroupieFrame:SetFrameStrata("DIALOG") GroupieFrame:SetWidth(LOCALE_WINDOW_WIDTH) GroupieFrame:SetHeight(LOCALE_WINDOW_HEIGHT) @@ -680,17 +681,6 @@ local function TabSwap(isHeroic, size, tabType, tabNum) ShowingFontStr:Show() end - --Change button text for other tab - if tabNum == 8 then --Other - for i = 1, #addon.groupieBoardButtons do - addon.groupieBoardButtons[i].btn:SetText("Hire") - end - else - for i = 1, #addon.groupieBoardButtons do - addon.groupieBoardButtons[i].btn:SetText("LFG") - end - end - DrawListings(LFGScrollFrame) PanelTemplates_SetTab(GroupieFrame, tabNum) end diff --git a/Globals.lua b/Globals.lua index 4e10226..58dce3c 100644 --- a/Globals.lua +++ b/Globals.lua @@ -191,7 +191,7 @@ addon.groupieUnflippedLootPatterns = { ["GDKP"] = "gdkp bid buyer", ["SoftRes"] = "2sr 1sr sr softres softreserve soft", ["MS > OS"] = "msos", - ["Other"] = "afk boost boosting boosts exp mob mobs recruit recruiting recruits roster selling wts xp layer" + ["Other"] = "afk boost boosting boosts exp mob mobs recruit recruiting recruits roster selling wts xp layer hire" } addon.lootTypeColors = {