mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
fix formatting
This commit is contained in:
parent
4d324a3057
commit
24e5c7ed42
@ -72,7 +72,7 @@ namespace osu.Game.Localisation
|
||||
/// <summary>
|
||||
/// "Based on the last {0} play(s), the suggested offset is {1} ms"
|
||||
/// </summary>
|
||||
public static LocalisableString SuggestedOffsetValueReceived(int plays, double? value) => new TranslatableString(getKey(@"suggested_offset_value_received"), @"Based on the last {0} play(s), the suggested offset is {1} ms", plays, value);
|
||||
public static LocalisableString SuggestedOffsetValueReceived(int plays, string value) => new TranslatableString(getKey(@"suggested_offset_value_received"), @"Based on the last {0} play(s), the suggested offset is {1} ms", plays, value);
|
||||
|
||||
/// <summary>
|
||||
/// "Apply suggested offset"
|
||||
|
@ -156,7 +156,7 @@ namespace osu.Game.Overlays.Settings.Sections.Audio
|
||||
{
|
||||
hintText.Text = SuggestedOffset.Value == null
|
||||
? AudioSettingsStrings.SuggestedOffsetNote
|
||||
: AudioSettingsStrings.SuggestedOffsetValueReceived(averageHitErrorHistory.Count, SuggestedOffset.Value);
|
||||
: AudioSettingsStrings.SuggestedOffsetValueReceived(averageHitErrorHistory.Count, $"{SuggestedOffset.Value:N0}");
|
||||
applySuggestion.Enabled.Value = SuggestedOffset.Value != null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user