Skip to content

Commit

Permalink
Cleanup/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
p3lim committed Aug 18, 2024
1 parent 5e04607 commit 25694f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ do
self.cbrHandles:SetOnValueChangedCallback(setting:GetVariable(), self.OnSettingValueChanged, self)
end

function CreateColorPicker(category, setting, options, tooltip)
function createColorPicker(category, setting, options, tooltip)
local data = Settings.CreateSettingInitializerData(setting, options, tooltip)
local init = Settings.CreateElementInitializer('SettingsListElementTemplate', data)
init.InitFrame = initFrame
Expand Down Expand Up @@ -166,7 +166,6 @@ local function registerSetting(category, savedvariable, info)
options:SetLabelFormatter(MinimalSliderWithSteppersMixin.Label.Right, info.valueFormat)
end

options:SetLabelFormatter(MinimalSliderWithSteppersMixin.Label.Right, valueFormat)
Settings.CreateSlider(category, setting, options, info.tooltip)
elseif info.type == 'menu' then
addon:ArgCheck(info.options, 3, 'table')
Expand Down

0 comments on commit 25694f9

Please sign in to comment.