Skip to content

Commit 921ad0f

Browse files
committed
More warning fixes
1 parent 8596d96 commit 921ad0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/yup_gui/widgets/yup_Slider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ class YUP_API Slider : public Component
350350
SliderType sliderType = LinearHorizontal;
351351
NormalisableRange<double> range { 0.0, 1.0 };
352352

353+
double defaultValue = 0.0;
353354
double currentValue = 0.0;
354355
double minValue = 0.0;
355356
double maxValue = 1.0;
356-
double defaultValue = 0.0;
357357

358358
int numDecimalPlaces = 7;
359359
double mouseDragSensitivity = 1.0;

0 commit comments

Comments
 (0)