mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Use less masking for the ring
This commit is contained in:
@ -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,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = ringColour,
|
Masking = true,
|
||||||
|
Child = new Box
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Colour = ringColour,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
Foreground = new CircularContainer
|
Foreground = new CircularContainer
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user