diff --git a/addons/settings/fnc_gui_settingColor.sqf b/addons/settings/fnc_gui_settingColor.sqf index ec29d567d..f4e71dad5 100644 --- a/addons/settings/fnc_gui_settingColor.sqf +++ b/addons/settings/fnc_gui_settingColor.sqf @@ -16,6 +16,7 @@ for "_index" from 0 to ((count _currentValue max 3 min 4) - 1) do { _ctrlColor sliderSetRange [0, 1]; _ctrlColor sliderSetPosition (_currentValue param [_index, 0]); + _ctrlColor sliderSetSpeed [0.05, 0.1]; _ctrlColor setVariable [QGVAR(params), [_setting, _source, _currentValue, _color, _index]]; _ctrlColor ctrlAddEventHandler ["SliderPosChanged", { diff --git a/addons/settings/fnc_gui_settingSlider.sqf b/addons/settings/fnc_gui_settingSlider.sqf index 29d6dc838..40d6a0a5e 100644 --- a/addons/settings/fnc_gui_settingSlider.sqf +++ b/addons/settings/fnc_gui_settingSlider.sqf @@ -7,6 +7,8 @@ private _ctrlSlider = _controlsGroup controlsGroupCtrl IDC_SETTING_SLIDER; _ctrlSlider sliderSetRange [_min, _max]; _ctrlSlider sliderSetPosition _currentValue; +private _range = _max - _min; +_ctrlSlider sliderSetSpeed [0.05 * _range, 0.1 * _range]; _ctrlSlider setVariable [QGVAR(params), [_setting, _source, _trailingDecimals]]; _ctrlSlider ctrlAddEventHandler ["SliderPosChanged", {