1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 19:02:56 +08:00

Fix masking in circular snap grid

This commit is contained in:
OliBomby 2024-02-01 17:07:03 +01:00
parent f807a3fd97
commit 576d6ff799

View File

@ -82,7 +82,12 @@ namespace osu.Game.Screens.Edit.Compose.Components
generatedCircles.First().Alpha = 0.8f; generatedCircles.First().Alpha = 0.8f;
AddRangeInternal(generatedCircles); AddInternal(new Container
{
Masking = true,
RelativeSizeAxes = Axes.Both,
Children = generatedCircles,
});
} }
public override Vector2 GetSnappedPosition(Vector2 original) public override Vector2 GetSnappedPosition(Vector2 original)