From fddd294a03b05a8fe403e6cc3bbf7dc313576c57 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Tue, 7 Jan 2025 00:18:19 +0100 Subject: [PATCH] Unfuckup the button colors --- Modules/Config.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Modules/Config.lua b/Modules/Config.lua index aa84c77..df8aa47 100644 --- a/Modules/Config.lua +++ b/Modules/Config.lua @@ -348,8 +348,8 @@ local colors = { shared.Config = {} function shared.Config.Init() local buttonColors = { - enabled = { 1, 0, 0, 1 }, - disabled = { 0, 1, 0, 1 } + enabled = { 0, 1, 0, 1 }, + disabled = { 1, 0, 0, 1 } } ---@param name string ---@param parent Frame @@ -634,6 +634,15 @@ function shared.Config.Init() Heimdall_Data.config.who.ignored = ignored end) whoerConfigFrame:Add(ignored, 6, 6) + + local zoneNotifyFor = CreateBasicBigEditBox("HeimdallWhoerConfigZoneNotifyFor", + whoerConfigFrame.frame, "Zone Notify For", + MapKeyToString(Heimdall_Data.config.who.zoneNotifyFor or {}, "\n"), + function(self) + local zoneNotifyFor = StringToMap(self:GetText(), "\n") + Heimdall_Data.config.who.zoneNotifyFor = zoneNotifyFor + end) + whoerConfigFrame:Add(zoneNotifyFor, 6, 6) end print("Heimdall - Config loaded") end