mirror of
https://github.com/ppy/osu.git
synced 2024-12-17 17:33:03 +08:00
Fix masking in circular snap grid
This commit is contained in:
parent
f807a3fd97
commit
576d6ff799
@ -82,7 +82,12 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
generatedCircles.First().Alpha = 0.8f;
|
||||
|
||||
AddRangeInternal(generatedCircles);
|
||||
AddInternal(new Container
|
||||
{
|
||||
Masking = true,
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = generatedCircles,
|
||||
});
|
||||
}
|
||||
|
||||
public override Vector2 GetSnappedPosition(Vector2 original)
|
||||
|
Loading…
Reference in New Issue
Block a user