mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
display tooltip accuracy as percentage
This commit is contained in:
parent
a805f78909
commit
fdbec4f8c0
@ -23,6 +23,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
public override double ScoreMultiplier => 1.0;
|
||||
public override Type[] IncompatibleMods => base.IncompatibleMods.Concat(new[] { typeof(ModEasyWithExtraLives), typeof(ModPerfect) }).ToArray();
|
||||
public override bool RequiresConfiguration => false;
|
||||
public override string SettingDescription => base.SettingDescription.Replace(MinimumAccuracy.Value.ToString(), MinimumAccuracy.Value.ToString("##%"));
|
||||
|
||||
[SettingSource("Minimum accuracy", "Trigger a failure if your accuracy goes below this value.", SettingControlType = typeof(SettingsSlider<double, PercentSlider>))]
|
||||
public BindableNumber<double> MinimumAccuracy { get; } = new BindableDouble
|
||||
|
Loading…
Reference in New Issue
Block a user