Fix mania key count slider still using circle size precision

This commit is contained in:
Bartłomiej Dach 2023-07-22 16:10:58 +02:00
parent f985bdc10f
commit 157aec5144
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Resources.Localisation.Web;
using osu.Game.Screens.Edit.Setup;
@ -14,6 +15,8 @@ private void load()
{
CircleSizeSlider.Label = BeatmapsetsStrings.ShowStatsCsMania;
CircleSizeSlider.Description = "The number of columns in the beatmap";
if (CircleSizeSlider.Current is BindableNumber<float> circleSizeFloat)
circleSizeFloat.Precision = 1;
}
}
}