1
0
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:
smoogipoo 2018-02-20 14:38:57 +09:00
parent 4da93e8f1d
commit 87065a0b13

View File

@ -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();
}