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