mirror of
https://github.com/osukey/osukey.git
synced 2025-06-17 01:08:00 +09:00
Improve visual display of arrow
This commit is contained in:
parent
b3e200ee7f
commit
cb03e6faa9
@ -74,41 +74,52 @@ namespace osu.Game.Rulesets.Osu.Statistics
|
|||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Masking = true,
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Box
|
new Container
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Origin = Anchor.Centre,
|
Padding = new MarginPadding(1),
|
||||||
RelativeSizeAxes = Axes.Y,
|
Child = new Container
|
||||||
Height = 2, // We're rotating along a diagonal - we don't really care how big this is.
|
{
|
||||||
Width = 1f,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Rotation = -rotation,
|
Masking = true,
|
||||||
Alpha = 0.3f,
|
Children = new Drawable[]
|
||||||
},
|
{
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
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 = 1f,
|
||||||
Rotation = rotation
|
Rotation = -rotation,
|
||||||
|
Alpha = 0.3f,
|
||||||
|
},
|
||||||
|
new Box
|
||||||
|
{
|
||||||
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
|
RelativeSizeAxes = Axes.Y,
|
||||||
|
Height = 2, // We're rotating along a diagonal - we don't really care how big this is.
|
||||||
|
Width = 1f,
|
||||||
|
Rotation = rotation
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
Width = 10,
|
Width = 10,
|
||||||
Height = 2f,
|
Height = 2,
|
||||||
},
|
},
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopRight,
|
Anchor = Anchor.TopRight,
|
||||||
Origin = Anchor.TopRight,
|
Origin = Anchor.TopRight,
|
||||||
Y = -1,
|
Width = 2,
|
||||||
Width = 2f,
|
|
||||||
Height = 10,
|
Height = 10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user