1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 02:22:57 +08:00

Apply edge smoothness and make weight more accented

This commit is contained in:
Dean Herbert 2022-05-20 16:48:07 +09:00
parent 8487d2c48a
commit 4712e512d7

View File

@ -140,6 +140,7 @@ namespace osu.Game.Screens.Edit.Timing
new Triangle new Triangle
{ {
Name = @"Main body", Name = @"Main body",
EdgeSmoothness = new Vector2(1),
Anchor = Anchor.BottomCentre, Anchor = Anchor.BottomCentre,
Origin = Anchor.BottomCentre, Origin = Anchor.BottomCentre,
Size = triangleSize, Size = triangleSize,
@ -171,7 +172,7 @@ namespace osu.Game.Screens.Edit.Timing
Name = @"Weight", Name = @"Weight",
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Colour = overlayColourProvider.Colour1, Colour = overlayColourProvider.Colour0,
Size = new Vector2(10), Size = new Vector2(10),
Rotation = 180, Rotation = 180,
RelativePositionAxes = Axes.Y, RelativePositionAxes = Axes.Y,
@ -182,11 +183,13 @@ namespace osu.Game.Screens.Edit.Timing
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Shear = new Vector2(0.2f, 0), Shear = new Vector2(0.2f, 0),
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),
EdgeSmoothness = new Vector2(1),
}, },
} }
}, },
@ -236,6 +239,7 @@ namespace osu.Game.Screens.Edit.Timing
Origin = Anchor.BottomCentre, Origin = Anchor.BottomCentre,
Size = triangleSize, Size = triangleSize,
Colour = overlayColourProvider.Background2, Colour = overlayColourProvider.Background2,
EdgeSmoothness = new Vector2(1),
Alpha = 0.8f Alpha = 0.8f
}, },
} }