mirror of
https://github.com/ppy/osu.git
synced 2025-02-27 17:32:55 +08:00
Apply suggestions
This commit is contained in:
parent
db7f29cc0e
commit
74c7e29108
@ -85,7 +85,7 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreRight,
|
||||||
Size = new Vector2(10),
|
Size = new Vector2(10),
|
||||||
Icon = entry.Type == ChangelogEntryType.Fix ? FontAwesome.Solid.Check : FontAwesome.Solid.Plus,
|
Icon = entry.Type == ChangelogEntryType.Fix ? FontAwesome.Solid.Check : FontAwesome.Solid.Plus,
|
||||||
Colour = entryColour.Darken(0.7f),
|
Colour = entryColour.Opacity(0.5f),
|
||||||
Margin = new MarginPadding { Right = 5 },
|
Margin = new MarginPadding { Right = 5 },
|
||||||
},
|
},
|
||||||
title = new LinkFlowContainer
|
title = new LinkFlowContainer
|
||||||
@ -123,10 +123,11 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
title.AddText(" by ", t =>
|
title.AddText("by ", t =>
|
||||||
{
|
{
|
||||||
t.Font = fontMedium.With(italics: true);
|
t.Font = fontMedium.With(italics: true);
|
||||||
t.Colour = entryColour;
|
t.Colour = entryColour;
|
||||||
|
t.Padding = new MarginPadding { Left = 10 };
|
||||||
});
|
});
|
||||||
|
|
||||||
if (entry.GithubUser.UserId != null)
|
if (entry.GithubUser.UserId != null)
|
||||||
|
@ -69,7 +69,7 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
},
|
},
|
||||||
new OsuSpriteText
|
new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = stream.LatestBuild.Users > 0 ? $"{stream.LatestBuild.Users:N0} {"user".Pluralize(stream.LatestBuild.Users == 1)} online" : null,
|
Text = stream.LatestBuild.Users > 0 ? $"{"user".ToQuantity(stream.LatestBuild.Users, "N0")} online" : null,
|
||||||
Font = OsuFont.GetFont(size: 10),
|
Font = OsuFont.GetFont(size: 10),
|
||||||
Colour = colourProvider.Foreground1
|
Colour = colourProvider.Foreground1
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user