public void RemoveType(SnapType snapType) { if (EnabledSnapTypes.Contains(snapType)) { EnabledSnapTypes.Remove(snapType); SnapStateChanged?.Invoke(this, null); } }
public void AddType(SnapType snapType) { if (!EnabledSnapTypes.Contains(snapType)) { EnabledSnapTypes.Add(snapType); SnapStateChanged?.Invoke(this, null); } }