1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 11:22:54 +08:00

Small design fixes

This commit is contained in:
EVAST9919 2019-02-08 20:35:07 +03:00
parent 13c154a0b3
commit bd1f4f9549
2 changed files with 14 additions and 6 deletions

View File

@ -176,7 +176,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
if (index == 0)
scoreText.Font = @"Exo2.0-Bold";
accuracy.Colour = (score.Accuracy == 1) ? Color4.LightGreen : Color4.White;
accuracy.Colour = (score.Accuracy == 1) ? Color4.GreenYellow : Color4.White;
hitGreat.Colour = (score.Statistics[HitResult.Great] == 0) ? Color4.Gray : Color4.White;
hitGood.Colour = (score.Statistics[HitResult.Good] == 0) ? Color4.Gray : Color4.White;

View File

@ -169,7 +169,8 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
TextSize = 10,
TextSize = 15,
Font = @"Exo2.0-Bold",
},
flag = new DrawableFlag
{
@ -327,9 +328,11 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
private class DrawableInfoColumn : FillFlowContainer
{
private readonly SpriteText headerText;
private const float header_text_size = 12;
private readonly SpriteText headerText;
private readonly Box line;
public DrawableInfoColumn(string header)
{
AutoSizeAxes = Axes.Y;
@ -351,15 +354,20 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
new Container
{
RelativeSizeAxes = Axes.X,
Height = 3,
Child = new Box
Height = 2,
Child = line = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.LightGray,
}
}
};
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
line.Colour = colours.Gray5;
}
}
private class ModsInfoColumn : DrawableInfoColumn