1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 04:57:46 +08:00

Add "None" snap type to fix flags not working correctly

This commit is contained in:
Dean Herbert 2022-05-19 15:57:17 +09:00
parent 5af7641e94
commit b3d6f76cfa

View File

@ -8,8 +8,9 @@ namespace osu.Game.Rulesets.Edit
[Flags]
public enum SnapType
{
NearbyObjects = 0,
Grids = 1,
None = 0,
NearbyObjects = 1 << 0,
Grids = 1 << 1,
All = NearbyObjects | Grids,
}
}