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:
parent
2918ecf46c
commit
93dbd7507f
@ -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