mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Fix ShouldBeAlive state
This commit is contained in:
parent
31a7db0a35
commit
a997ec6139
@ -37,10 +37,9 @@ namespace osu.Game.Rulesets.Edit
|
||||
/// </summary>
|
||||
public readonly DrawableHitObject HitObject;
|
||||
|
||||
protected override bool ShouldBeAlive => HitObject.IsAlive || State == Visibility.Visible;
|
||||
public override bool RemoveWhenNotAlive => false;
|
||||
|
||||
protected override bool ShouldBeAlive => HitObject.IsAlive && HitObject.IsPresent || State == Visibility.Visible;
|
||||
public override bool HandleMouseInput => ShouldBeAlive;
|
||||
public override bool RemoveWhenNotAlive => false;
|
||||
|
||||
public HitObjectMask(DrawableHitObject hitObject)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user