mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Standardise line thickness
This commit is contained in:
parent
0d3bc1ac29
commit
fd13c0a6dd
@ -40,6 +40,8 @@ namespace osu.Game.Rulesets.Osu.Statistics
|
|||||||
private readonly ScoreInfo score;
|
private readonly ScoreInfo score;
|
||||||
private readonly IBeatmap playableBeatmap;
|
private readonly IBeatmap playableBeatmap;
|
||||||
|
|
||||||
|
private const float line_thickness = 2;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The highest count of any point currently being displayed.
|
/// The highest count of any point currently being displayed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -69,7 +71,7 @@ namespace osu.Game.Rulesets.Osu.Statistics
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Size = new Vector2(inner_portion),
|
Size = new Vector2(inner_portion),
|
||||||
Masking = true,
|
Masking = true,
|
||||||
BorderThickness = 2f,
|
BorderThickness = line_thickness,
|
||||||
BorderColour = Color4.White,
|
BorderColour = Color4.White,
|
||||||
Child = new Box
|
Child = new Box
|
||||||
{
|
{
|
||||||
@ -98,7 +100,7 @@ namespace osu.Game.Rulesets.Osu.Statistics
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
Height = 2, // We're rotating along a diagonal - we don't really care how big this is.
|
Height = 2, // We're rotating along a diagonal - we don't really care how big this is.
|
||||||
Width = 1f,
|
Width = line_thickness,
|
||||||
Rotation = -rotation,
|
Rotation = -rotation,
|
||||||
Alpha = 0.3f,
|
Alpha = 0.3f,
|
||||||
},
|
},
|
||||||
@ -108,7 +110,7 @@ namespace osu.Game.Rulesets.Osu.Statistics
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
RelativeSizeAxes = Axes.Y,
|
RelativeSizeAxes = Axes.Y,
|
||||||
Height = 2, // We're rotating along a diagonal - we don't really care how big this is.
|
Height = 2, // We're rotating along a diagonal - we don't really care how big this is.
|
||||||
Width = 1f,
|
Width = line_thickness,
|
||||||
Rotation = rotation
|
Rotation = rotation
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user