1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 00:53:22 +08:00

Use circle instead of CircularContainer

This commit is contained in:
Dean Herbert 2019-12-27 10:53:20 +09:00
parent 3d7c7a1ced
commit 183307d636

View File

@ -80,17 +80,12 @@ namespace osu.Game.Graphics.UserInterface
Font = OsuFont.GetFont(size: 20, weight: FontWeight.Bold),
Margin = new MarginPadding { Bottom = text_offset }
},
new CircularContainer
new Circle
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Masking = true,
Size = new Vector2(4),
Child = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Gray,
}
Colour = Color4.Gray,
},
pageText = new OsuSpriteText
{