1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 06:33:17 +08:00

Merge pull request #19831 from peppy/fix-zero-length-taiko-spans

Fix taiko drum rolls with zero length being placeable in editor
This commit is contained in:
Dan Balasescu 2022-08-18 17:56:46 +09:00 committed by GitHub
commit 8480703e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ namespace osu.Game.Rulesets.Taiko.Edit.Blueprints
return; return;
base.OnMouseUp(e); base.OnMouseUp(e);
EndPlacement(true); EndPlacement(spanPlacementObject.Duration > 0);
} }
public override void UpdateTimeAndPosition(SnapResult result) public override void UpdateTimeAndPosition(SnapResult result)