Unverified Commit 95fddd0d authored by Merathilis's avatar Merathilis
Browse files

Fix LocPanel disable options for colors.

parent db3efea0
...@@ -118,7 +118,7 @@ local function configTable() ...@@ -118,7 +118,7 @@ local function configTable()
type = 'color', type = 'color',
order = 3, order = 3,
name = L["Custom Color"], name = L["Custom Color"],
disabled = function() return not E.db.sle.minimap.locPanel.enable or not E.db.sle.minimap.locPanel.colorType == "CUSTOM" end, disabled = function() return not E.db.sle.minimap.locPanel.enable or E.db.sle.minimap.locPanel.colorType ~= "CUSTOM" end,
get = function(info) get = function(info)
local t = E.db.sle.minimap.locPanel[ info[#info] ] local t = E.db.sle.minimap.locPanel[ info[#info] ]
local d = P.sle.minimap.locPanel[info[#info]] local d = P.sle.minimap.locPanel[info[#info]]
...@@ -167,7 +167,7 @@ local function configTable() ...@@ -167,7 +167,7 @@ local function configTable()
type = 'color', type = 'color',
order = 3, order = 3,
name = L["Custom Color"], name = L["Custom Color"],
disabled = function() return not E.db.sle.minimap.locPanel.enable or not E.db.sle.minimap.locPanel.colorType_Coords == "CUSTOM" end, disabled = function() return not E.db.sle.minimap.locPanel.enable or E.db.sle.minimap.locPanel.colorType_Coords ~= "CUSTOM" end,
get = function(info) get = function(info)
local t = E.db.sle.minimap.locPanel[ info[#info] ] local t = E.db.sle.minimap.locPanel[ info[#info] ]
local d = P.sle.minimap.locPanel[info[#info]] local d = P.sle.minimap.locPanel[info[#info]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment