mirror of https://github.com/ppy/osu
Make sure taiko hitexplosions expire and get removed
This commit is contained in:
parent
f07e6370ca
commit
8f3215f5a0
|
@ -18,6 +18,8 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||
/// </summary>
|
||||
internal class HitExplosion : CircularContainer
|
||||
{
|
||||
public override bool RemoveWhenNotAlive => true;
|
||||
|
||||
public readonly DrawableHitObject JudgedObject;
|
||||
|
||||
private readonly Box innerFill;
|
||||
|
@ -66,7 +68,7 @@ protected override void LoadComplete()
|
|||
this.ScaleTo(3f, 1000, Easing.OutQuint);
|
||||
this.FadeOut(500);
|
||||
|
||||
Expire();
|
||||
Expire(true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -14,6 +14,8 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||
{
|
||||
public class KiaiHitExplosion : CircularContainer
|
||||
{
|
||||
public override bool RemoveWhenNotAlive => true;
|
||||
|
||||
public readonly DrawableHitObject JudgedObject;
|
||||
|
||||
private readonly bool isRim;
|
||||
|
@ -62,7 +64,7 @@ protected override void LoadComplete()
|
|||
this.ScaleTo(new Vector2(1, 3f), 500, Easing.OutQuint);
|
||||
this.FadeOut(250);
|
||||
|
||||
Expire();
|
||||
Expire(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue