Merge branch 'master' into frame-stability-clean-up

This commit is contained in:
Dan Balasescu
2020-10-29 13:02:17 +09:00
committed by GitHub
15 changed files with 348 additions and 94 deletions

View File

@ -120,6 +120,11 @@ namespace osu.Game.Rulesets.Edit
/// </summary>
public void Deselect() => State = SelectionState.NotSelected;
/// <summary>
/// Toggles the selection state of this <see cref="OverlaySelectionBlueprint"/>.
/// </summary>
public void ToggleSelection() => State = IsSelected ? SelectionState.NotSelected : SelectionState.Selected;
public bool IsSelected => State == SelectionState.Selected;
/// <summary>