diff --git a/.luacheckrc b/.luacheckrc index 8aec083..24e2ee1 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -20,6 +20,7 @@ ignore = { globals = { -- FrameXML objects we mutate 'SlashCmdList', -- FrameXML/ChatFrame.lua + 'NewSettings', } read_globals = { diff --git a/modules/settings.lua b/modules/settings.lua index 0602df7..a22fcf9 100644 --- a/modules/settings.lua +++ b/modules/settings.lua @@ -4,9 +4,9 @@ local function onSettingChanged(setting, value) addon:TriggerOptionCallback(setting.variableKey, value) end -local function onOptionChanged(setting, value) - setting:SetValue(value, true) -end +-- local function onOptionChanged(setting, value) +-- setting:SetValue(value, true) +-- end local createCanvas do