mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Small design fixes
This commit is contained in:
parent
13c154a0b3
commit
bd1f4f9549
@ -176,7 +176,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
if (index == 0)
|
if (index == 0)
|
||||||
scoreText.Font = @"Exo2.0-Bold";
|
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;
|
hitGreat.Colour = (score.Statistics[HitResult.Great] == 0) ? Color4.Gray : Color4.White;
|
||||||
hitGood.Colour = (score.Statistics[HitResult.Good] == 0) ? Color4.Gray : Color4.White;
|
hitGood.Colour = (score.Statistics[HitResult.Good] == 0) ? Color4.Gray : Color4.White;
|
||||||
|
@ -169,7 +169,8 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
TextSize = 10,
|
TextSize = 15,
|
||||||
|
Font = @"Exo2.0-Bold",
|
||||||
},
|
},
|
||||||
flag = new DrawableFlag
|
flag = new DrawableFlag
|
||||||
{
|
{
|
||||||
@ -327,9 +328,11 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
|
|
||||||
private class DrawableInfoColumn : FillFlowContainer
|
private class DrawableInfoColumn : FillFlowContainer
|
||||||
{
|
{
|
||||||
private readonly SpriteText headerText;
|
|
||||||
private const float header_text_size = 12;
|
private const float header_text_size = 12;
|
||||||
|
|
||||||
|
private readonly SpriteText headerText;
|
||||||
|
private readonly Box line;
|
||||||
|
|
||||||
public DrawableInfoColumn(string header)
|
public DrawableInfoColumn(string header)
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Y;
|
AutoSizeAxes = Axes.Y;
|
||||||
@ -351,15 +354,20 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
|
|||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
Height = 3,
|
Height = 2,
|
||||||
Child = new Box
|
Child = line = new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = Color4.LightGray,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[BackgroundDependencyLoader]
|
||||||
|
private void load(OsuColour colours)
|
||||||
|
{
|
||||||
|
line.Colour = colours.Gray5;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class ModsInfoColumn : DrawableInfoColumn
|
private class ModsInfoColumn : DrawableInfoColumn
|
||||||
|
Loading…
Reference in New Issue
Block a user