mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Add locking wedge
This commit is contained in:
parent
79878a4ec2
commit
21072a26ef
@ -133,14 +133,17 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
Masking = true,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Size = new Vector2(triangleSize.X * 1.2f, triangleSize.Y - taper),
|
||||
Child = new Triangle
|
||||
Size = new Vector2(triangleSize.X, triangleSize.Y - taper),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
Name = @"Main body",
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Size = triangleSize,
|
||||
Colour = overlayColourProvider.Background3,
|
||||
new Triangle
|
||||
{
|
||||
Name = @"Main body",
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Size = triangleSize,
|
||||
Colour = overlayColourProvider.Background3,
|
||||
},
|
||||
},
|
||||
},
|
||||
swing = new Container
|
||||
@ -188,6 +191,25 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
},
|
||||
}
|
||||
},
|
||||
new Container
|
||||
{
|
||||
Name = @"Taper adjust",
|
||||
Masking = true,
|
||||
Anchor = Anchor.BottomCentre,
|
||||
Origin = Anchor.BottomCentre,
|
||||
Size = new Vector2(triangleSize.X, triangleSize.Y - taper),
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Circle
|
||||
{
|
||||
Name = @"Locking wedge",
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.Centre,
|
||||
Colour = overlayColourProvider.Background1,
|
||||
Size = new Vector2(8),
|
||||
}
|
||||
},
|
||||
},
|
||||
new Circle
|
||||
{
|
||||
Name = @"Swing connection point",
|
||||
|
Loading…
Reference in New Issue
Block a user