Expire + dispose CaptureBoxes

This commit is contained in:
smoogipoo 2018-02-15 19:11:29 +09:00
parent ebcdb62570
commit cbac4de9c2
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -81,6 +81,7 @@ namespace osu.Game.Rulesets.Edit.Layers.Selection
{
selectedHitObjects.Clear();
captureBox?.Hide();
captureBox?.Expire();
}
/// <summary>