1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 06:49:53 +08:00

Expire + dispose CaptureBoxes

This commit is contained in:
smoogipoo
2018-02-15 19:11:29 +09:00
Unverified
parent ebcdb62570
commit cbac4de9c2
2 changed files with 3 additions and 1 deletions
@@ -60,8 +60,9 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
Position = topLeft;
}
protected override void PopIn() => this.FadeIn();
public override bool DisposeOnDeathRemoval => true;
protected override void PopIn() => this.FadeIn();
protected override void PopOut() => this.FadeOut();
}
}
@@ -81,6 +81,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
{
selectedHitObjects.Clear();
captureBox?.Hide();
captureBox?.Expire();
}
/// <summary>