fixed missing SliderWidget initialization command if value is -1

This commit is contained in:
thrust26 2021-01-26 19:29:36 +01:00
parent 1bb126b06a
commit 22a055075a

View File

@ -373,7 +373,7 @@ class SliderWidget : public ButtonWidget
int posToValue(int pos) const;
protected:
int _value{-1}, _stepValue{1};
int _value{-INT_MAX}, _stepValue{1};
int _valueMin{0}, _valueMax{100};
bool _isDragging{false};
int _labelWidth{0};