mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
18 lines
563 B
C#
18 lines
563 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
using osu.Game.Screens.Edit.Compose.Components;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit
|
|
{
|
|
public class OsuDistanceSnapGrid : CircularDistanceSnapGrid
|
|
{
|
|
public OsuDistanceSnapGrid(OsuHitObject hitObject, OsuHitObject nextHitObject)
|
|
: base(hitObject, nextHitObject, hitObject.StackedEndPosition)
|
|
{
|
|
Masking = true;
|
|
}
|
|
}
|
|
}
|