1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 07:42:55 +08:00

Fixes small oversight

was applying a value when it wasn't supposed to be applied.
This commit is contained in:
o-dasher 2022-09-25 16:31:04 -04:00
parent 578f1e1e6c
commit a9318e5c04

View File

@ -38,16 +38,20 @@ namespace osu.Game.Tests.Visual.UserInterface
{ {
slider1 = new ExpandableSlider<float, SizeSlider<float>> slider1 = new ExpandableSlider<float, SizeSlider<float>>
{ {
Current = new BindableFloat(1.0f) Current = new BindableFloat
{ {
Default = 1.0f,
MinValue = 1.0f,
MaxValue = 10.0f, MaxValue = 10.0f,
Precision = 0.01f, Precision = 0.01f,
}, },
}, },
slider2 = new ExpandableSlider<double> slider2 = new ExpandableSlider<double>
{ {
Current = new BindableDouble(1.0) Current = new BindableDouble
{ {
Default = 1.0,
MinValue = 1.0
MaxValue = 10.0, MaxValue = 10.0,
Precision = 0.01, Precision = 0.01,
}, },