Skip to content

Commit

Permalink
Fix incorrect alive criteria causing clicking future objects to be to…
Browse files Browse the repository at this point in the history
…o greedy
  • Loading branch information
peppy committed May 12, 2022
1 parent 51744e4 commit 0318944
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public abstract class OsuSelectionBlueprint<T> : HitObjectSelectionBlueprint<T>

protected override bool AlwaysShowWhenSelected => true;

protected override bool ShouldBeAlive => base.ShouldBeAlive || editorClock.CurrentTime - Item.GetEndTime() < HitCircleOverlapMarker.FADE_OUT_EXTENSION;
protected override bool ShouldBeAlive => base.ShouldBeAlive
|| (editorClock.CurrentTime >= Item.StartTime && editorClock.CurrentTime - Item.GetEndTime() < HitCircleOverlapMarker.FADE_OUT_EXTENSION);

protected OsuSelectionBlueprint(T hitObject)
: base(hitObject)
Expand Down

0 comments on commit 0318944

Please sign in to comment.