Only transfer difficulty slider values on commit

Closes https://github.com/ppy/osu/issues/30112.
This commit is contained in:
Bartłomiej Dach 2024-10-04 14:03:38 +02:00
parent 86c3e3e987
commit 7816c41b94
No known key found for this signature in database
4 changed files with 22 additions and 0 deletions

View File

@ -48,6 +48,7 @@ private void load()
MaxValue = 10,
Precision = 1,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
specialStyle = new FormCheckBox
@ -67,6 +68,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
overallDifficultySlider = new FormSliderBar<float>
@ -80,6 +82,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
baseVelocitySlider = new FormSliderBar<double>
@ -93,6 +96,7 @@ private void load()
MaxValue = 3.6,
Precision = 0.01f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
tickRateSlider = new FormSliderBar<double>
@ -106,6 +110,7 @@ private void load()
MaxValue = 4,
Precision = 1,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
};

View File

@ -42,6 +42,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
healthDrainSlider = new FormSliderBar<float>
@ -55,6 +56,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
approachRateSlider = new FormSliderBar<float>
@ -68,6 +70,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
overallDifficultySlider = new FormSliderBar<float>
@ -81,6 +84,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
baseVelocitySlider = new FormSliderBar<double>
@ -94,6 +98,7 @@ private void load()
MaxValue = 3.6,
Precision = 0.01f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
tickRateSlider = new FormSliderBar<double>
@ -107,6 +112,7 @@ private void load()
MaxValue = 4,
Precision = 1,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
stackLeniency = new FormSliderBar<float>
@ -120,6 +126,7 @@ private void load()
MaxValue = 1,
Precision = 0.1f
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
};

View File

@ -39,6 +39,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
overallDifficultySlider = new FormSliderBar<float>
@ -52,6 +53,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
baseVelocitySlider = new FormSliderBar<double>
@ -65,6 +67,7 @@ private void load()
MaxValue = 3.6,
Precision = 0.01f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
tickRateSlider = new FormSliderBar<double>
@ -78,6 +81,7 @@ private void load()
MaxValue = 4,
Precision = 1,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
};

View File

@ -40,6 +40,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
healthDrainSlider = new FormSliderBar<float>
@ -53,6 +54,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
approachRateSlider = new FormSliderBar<float>
@ -66,6 +68,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
overallDifficultySlider = new FormSliderBar<float>
@ -79,6 +82,7 @@ private void load()
MaxValue = 10,
Precision = 0.1f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
baseVelocitySlider = new FormSliderBar<double>
@ -92,6 +96,7 @@ private void load()
MaxValue = 3.6,
Precision = 0.01f,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
tickRateSlider = new FormSliderBar<double>
@ -105,6 +110,7 @@ private void load()
MaxValue = 4,
Precision = 1,
},
TransferValueOnCommit = true,
TabbableContentContainer = this,
},
};