Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit 9e9dcbe

Browse files
committed
Attempt at fixing NullReferenceException in Slider.Set.
1 parent 6c5c107 commit 9e9dcbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UI/QuickMenu/ReMenuSlider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public ReMenuSlider(string text, string tooltip, Action<float> onSlide, Transfor
2929
{
3030
value.text = val.ToString("F");
3131
}));
32+
_sliderComponent.m_OnValueChanged = _sliderComponent.onValueChanged;
3233

3334
_sliderComponent.minValue = minValue;
3435
_sliderComponent.maxValue = maxValue;

0 commit comments

Comments
 (0)