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), Font = OsuFont.GetFont(size: 20, weight: FontWeight.Bold),
Margin = new MarginPadding { Bottom = text_offset } Margin = new MarginPadding { Bottom = text_offset }
}, },
new CircularContainer new Circle
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Masking = true,
Size = new Vector2(4), Size = new Vector2(4),
Child = new Box Colour = Color4.Gray,
{
RelativeSizeAxes = Axes.Both,
Colour = Color4.Gray,
}
}, },
pageText = new OsuSpriteText pageText = new OsuSpriteText
{ {