mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Merge pull request #20594 from ekrctb/fix-mania-hold-note-head
Fix mania hold note head disappears
This commit is contained in:
@ -36,6 +36,9 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
|||||||
// the hold note head should never change its visual state on its own due to the "freezing" mechanic
|
// the hold note head should never change its visual state on its own due to the "freezing" mechanic
|
||||||
// (when hit, it remains visible in place at the judgement line; when dropped, it will scroll past the line).
|
// (when hit, it remains visible in place at the judgement line; when dropped, it will scroll past the line).
|
||||||
// it will be hidden along with its parenting hold note when required.
|
// it will be hidden along with its parenting hold note when required.
|
||||||
|
|
||||||
|
// Set `LifetimeEnd` explicitly to a non-`double.MaxValue` because otherwise this DHO is automatically expired.
|
||||||
|
LifetimeEnd = double.PositiveInfinity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool OnPressed(KeyBindingPressEvent<ManiaAction> e) => false; // Handled by the hold note
|
public override bool OnPressed(KeyBindingPressEvent<ManiaAction> e) => false; // Handled by the hold note
|
||||||
|
Reference in New Issue
Block a user