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] [Flags]
public enum SnapType public enum SnapType
{ {
NearbyObjects = 0, None = 0,
Grids = 1, NearbyObjects = 1 << 0,
Grids = 1 << 1,
All = NearbyObjects | Grids, All = NearbyObjects | Grids,
} }
} }