mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 07:23:14 +08:00
Use less masking for the ring
This commit is contained in:
parent
19723b82f7
commit
6fb8755a95
@ -282,7 +282,7 @@ namespace osu.Game.Screens.Menu
|
||||
Start();
|
||||
}
|
||||
|
||||
private class Ring : CircularContainer
|
||||
private class Ring : Container<CircularContainer>
|
||||
{
|
||||
public readonly CircularContainer Foreground;
|
||||
|
||||
@ -290,13 +290,19 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
Anchor = Anchor.Centre;
|
||||
Origin = Anchor.Centre;
|
||||
Masking = true;
|
||||
Children = new Drawable[]
|
||||
Children = new[]
|
||||
{
|
||||
new Box
|
||||
new CircularContainer
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = ringColour,
|
||||
Masking = true,
|
||||
Child = new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = ringColour,
|
||||
}
|
||||
},
|
||||
Foreground = new CircularContainer
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user