1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:17:27 +08:00

Fix masking in circular snap grid

This commit is contained in:
OliBomby 2024-02-01 17:07:03 +01:00
parent 2918ecf46c
commit 93dbd7507f

View File

@ -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)