Add arbirary precision specification for now

This commit is contained in:
Dean Herbert
2020-10-07 14:26:01 +09:00
parent aae4a74d14
commit a6d1484ad5

View File

@ -38,7 +38,8 @@ namespace osu.Game.Screens.Edit.Setup
{ {
Default = BeatmapDifficulty.DEFAULT_DIFFICULTY, Default = BeatmapDifficulty.DEFAULT_DIFFICULTY,
MinValue = 2, MinValue = 2,
MaxValue = 7 MaxValue = 7,
Precision = 0.1f,
} }
}, },
healthDrainSlider = new LabelledSliderBar<float> healthDrainSlider = new LabelledSliderBar<float>
@ -49,7 +50,8 @@ namespace osu.Game.Screens.Edit.Setup
{ {
Default = BeatmapDifficulty.DEFAULT_DIFFICULTY, Default = BeatmapDifficulty.DEFAULT_DIFFICULTY,
MinValue = 0, MinValue = 0,
MaxValue = 10 MaxValue = 10,
Precision = 0.1f,
} }
}, },
approachRateSlider = new LabelledSliderBar<float> approachRateSlider = new LabelledSliderBar<float>
@ -60,7 +62,8 @@ namespace osu.Game.Screens.Edit.Setup
{ {
Default = BeatmapDifficulty.DEFAULT_DIFFICULTY, Default = BeatmapDifficulty.DEFAULT_DIFFICULTY,
MinValue = 0, MinValue = 0,
MaxValue = 10 MaxValue = 10,
Precision = 0.1f,
} }
}, },
overallDifficultySlider = new LabelledSliderBar<float> overallDifficultySlider = new LabelledSliderBar<float>
@ -71,7 +74,8 @@ namespace osu.Game.Screens.Edit.Setup
{ {
Default = BeatmapDifficulty.DEFAULT_DIFFICULTY, Default = BeatmapDifficulty.DEFAULT_DIFFICULTY,
MinValue = 0, MinValue = 0,
MaxValue = 10 MaxValue = 10,
Precision = 0.1f,
} }
}, },
}; };