mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
Rename region to be more inclusive
This commit is contained in:
parent
42255f8d33
commit
aa1cb65eaa
@ -122,7 +122,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Sample Changes
|
#region Ternary state changes
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds a hit sample to all selected <see cref="HitObject"/>s.
|
/// 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>
|
/// <summary>
|
||||||
/// Set the new combo state of all selected <see cref="HitObject"/>s.
|
/// Set the new combo state of all selected <see cref="HitObject"/>s.
|
||||||
/// </summary>
|
/// </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
|
#endregion
|
||||||
|
|
||||||
#region Context Menu
|
#region Context Menu
|
||||||
|
Loading…
Reference in New Issue
Block a user