mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 07:07:18 +09:00
Add centre line on weight
This commit is contained in:
parent
2e21d75b10
commit
82eb5fd2c9
@ -6,6 +6,7 @@ using osu.Framework.Allocation;
|
|||||||
using osu.Framework.Audio.Track;
|
using osu.Framework.Audio.Track;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
|
using osu.Framework.Graphics.Colour;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Utils;
|
using osu.Framework.Utils;
|
||||||
@ -99,7 +100,6 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
Name = @"Weight",
|
Name = @"Weight",
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Colour = overlayColourProvider.Colour0,
|
|
||||||
Size = new Vector2(10),
|
Size = new Vector2(10),
|
||||||
Rotation = 180,
|
Rotation = 180,
|
||||||
RelativePositionAxes = Axes.Y,
|
RelativePositionAxes = Axes.Y,
|
||||||
@ -110,14 +110,25 @@ namespace osu.Game.Screens.Edit.Timing
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Shear = new Vector2(0.2f, 0),
|
Shear = new Vector2(0.2f, 0),
|
||||||
|
Colour = overlayColourProvider.Colour1,
|
||||||
EdgeSmoothness = new Vector2(1),
|
EdgeSmoothness = new Vector2(1),
|
||||||
},
|
},
|
||||||
new Box
|
new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Shear = new Vector2(-0.2f, 0),
|
Shear = new Vector2(-0.2f, 0),
|
||||||
|
Colour = overlayColourProvider.Colour1,
|
||||||
EdgeSmoothness = new Vector2(1),
|
EdgeSmoothness = new Vector2(1),
|
||||||
},
|
},
|
||||||
|
new Circle
|
||||||
|
{
|
||||||
|
Anchor = Anchor.Centre,
|
||||||
|
Origin = Anchor.Centre,
|
||||||
|
Colour = ColourInfo.GradientVertical(overlayColourProvider.Colour1, overlayColourProvider.Colour0),
|
||||||
|
RelativeSizeAxes = Axes.Y,
|
||||||
|
Width = 1,
|
||||||
|
Height = 0.9f
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user