Unfuckup the button colors
This commit is contained in:
@@ -348,8 +348,8 @@ local colors = {
|
|||||||
shared.Config = {}
|
shared.Config = {}
|
||||||
function shared.Config.Init()
|
function shared.Config.Init()
|
||||||
local buttonColors = {
|
local buttonColors = {
|
||||||
enabled = { 1, 0, 0, 1 },
|
enabled = { 0, 1, 0, 1 },
|
||||||
disabled = { 0, 1, 0, 1 }
|
disabled = { 1, 0, 0, 1 }
|
||||||
}
|
}
|
||||||
---@param name string
|
---@param name string
|
||||||
---@param parent Frame
|
---@param parent Frame
|
||||||
@@ -634,6 +634,15 @@ function shared.Config.Init()
|
|||||||
Heimdall_Data.config.who.ignored = ignored
|
Heimdall_Data.config.who.ignored = ignored
|
||||||
end)
|
end)
|
||||||
whoerConfigFrame:Add(ignored, 6, 6)
|
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
|
end
|
||||||
print("Heimdall - Config loaded")
|
print("Heimdall - Config loaded")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user