diff --git a/source/funkin/editors/ui/UISlider.hx b/source/funkin/editors/ui/UISlider.hx index 4fd3cfff..8c5a4537 100644 --- a/source/funkin/editors/ui/UISlider.hx +++ b/source/funkin/editors/ui/UISlider.hx @@ -27,6 +27,7 @@ class UISlider extends UISprite { public var value(default, set):Float = 0; public function set_value(newVal:Float):Float { __barProgress = __calcProgress(newVal); if (onChange != null) onChange(newVal); + if (valueStepper != null) valueStepper.value = newVal; return value = newVal; }