Use less masking for the ring

This commit is contained in:
EVAST9919
2017-10-10 06:06:09 +03:00
parent 19723b82f7
commit 6fb8755a95

View File

@ -282,7 +282,7 @@ namespace osu.Game.Screens.Menu
Start(); Start();
} }
private class Ring : CircularContainer private class Ring : Container<CircularContainer>
{ {
public readonly CircularContainer Foreground; public readonly CircularContainer Foreground;
@ -290,13 +290,19 @@ namespace osu.Game.Screens.Menu
{ {
Anchor = Anchor.Centre; Anchor = Anchor.Centre;
Origin = Anchor.Centre; Origin = Anchor.Centre;
Masking = true; Children = new[]
Children = new Drawable[]
{ {
new Box new CircularContainer
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Masking = true,
Child = new Box
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Colour = ringColour, Colour = ringColour,
}
}, },
Foreground = new CircularContainer Foreground = new CircularContainer
{ {