mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Rename + publicise DeselectAll
This commit is contained in:
parent
4da93e8f1d
commit
87065a0b13
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
|
||||
{
|
||||
clearSelection();
|
||||
DeselectAll();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -77,9 +77,10 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
|
||||
/// <summary>
|
||||
/// Deselects all selected <see cref="DrawableHitObject"/>s.
|
||||
/// </summary>
|
||||
private void clearSelection()
|
||||
public void DeselectAll()
|
||||
{
|
||||
selectedHitObjects.Clear();
|
||||
|
||||
captureBox?.Hide();
|
||||
captureBox?.Expire();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user