Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Aug 18, 2024
1 parent 25694f9 commit 15f9c22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ignore = {
globals = {
-- FrameXML objects we mutate
'SlashCmdList', -- FrameXML/ChatFrame.lua
'NewSettings',
}

read_globals = {
Expand Down
6 changes: 3 additions & 3 deletions modules/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15f9c22

Please sign in to comment.