Unfuckup the button colors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user