Rename region to be more inclusive

This commit is contained in:
Dean Herbert 2021-04-28 11:42:10 +09:00
parent 42255f8d33
commit aa1cb65eaa

View File

@ -122,7 +122,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
#endregion
#region Sample Changes
#region Ternary state changes
/// <summary>
/// Adds a hit sample to all selected <see cref="HitObject"/>s.
@ -140,6 +140,15 @@ namespace osu.Game.Screens.Edit.Compose.Components
});
}
/// <summary>
/// Removes a hit sample from all selected <see cref="HitObject"/>s.
/// </summary>
/// <param name="sampleName">The name of the hit sample.</param>
public void RemoveHitSample(string sampleName)
{
EditorBeatmap.PerformOnSelection(h => h.SamplesBindable.RemoveAll(s => s.Name == sampleName));
}
/// <summary>
/// Set the new combo state of all selected <see cref="HitObject"/>s.
/// </summary>
@ -158,15 +167,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
});
}
/// <summary>
/// Removes a hit sample from all selected <see cref="HitObject"/>s.
/// </summary>
/// <param name="sampleName">The name of the hit sample.</param>
public void RemoveHitSample(string sampleName)
{
EditorBeatmap.PerformOnSelection(h => h.SamplesBindable.RemoveAll(s => s.Name == sampleName));
}
#endregion
#region Context Menu