1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-01 20:25:34 +08:00

Fix formatting

This commit is contained in:
Dean Herbert 2017-12-21 21:46:57 +09:00
parent 5b596765c8
commit abe465358c

View File

@ -128,6 +128,7 @@ namespace osu.Game.Screens.Play
} }
private int retries; private int retries;
public int Retries public int Retries
{ {
set set
@ -235,28 +236,28 @@ namespace osu.Game.Screens.Play
retryCounterContainer.Children = new Drawable[] retryCounterContainer.Children = new Drawable[]
{ {
new OsuSpriteText new OsuSpriteText
{ {
Text = "You've retried ", Text = "You've retried ",
Shadow = true, Shadow = true,
ShadowColour = new Color4(0, 0, 0, 0.25f), ShadowColour = new Color4(0, 0, 0, 0.25f),
TextSize = 18 TextSize = 18
}, },
new OsuSpriteText new OsuSpriteText
{ {
Text = $"{retries:n0}", Text = $"{retries:n0}",
Font = @"Exo2.0-Bold", Font = @"Exo2.0-Bold",
Shadow = true, Shadow = true,
ShadowColour = new Color4(0, 0, 0, 0.25f), ShadowColour = new Color4(0, 0, 0, 0.25f),
TextSize = 18 TextSize = 18
}, },
new OsuSpriteText new OsuSpriteText
{ {
Text = $" time{(retries == 1 ? "" : "s")} in this session", Text = $" time{(retries == 1 ? "" : "s")} in this session",
Shadow = true, Shadow = true,
ShadowColour = new Color4(0, 0, 0, 0.25f), ShadowColour = new Color4(0, 0, 0, 0.25f),
TextSize = 18 TextSize = 18
} }
}; };
} }