mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-08 03:56:24 +02:00
Need to initialise step_ here, too.
This commit is contained in:
1 parent
69e66df07e
commit
cfae07f72b
1 file changed
+1
-1
+1
-1
@@ -300,7 +300,7 @@ PopupSliderChoice::PopupSliderChoice(int *value, int minValue, int maxValue, con
|
||||
}
|
||||
|
||||
PopupSliderChoiceFloat::PopupSliderChoiceFloat(float *value, float minValue, float maxValue, const std::string &text, ScreenManager *screenManager, LayoutParams *layoutParams)
|
||||
: Choice(text, "", false, layoutParams), value_(value), minValue_(minValue), maxValue_(maxValue), screenManager_(screenManager) {
|
||||
: Choice(text, "", false, layoutParams), value_(value), minValue_(minValue), maxValue_(maxValue), step_(1.0f), screenManager_(screenManager) {
|
||||
OnClick.Handle(this, &PopupSliderChoiceFloat::HandleClick);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user