diff --git a/OpenUtau.Core/Ustx/UPart.cs b/OpenUtau.Core/Ustx/UPart.cs index 4b13d40db..9e2963e59 100644 --- a/OpenUtau.Core/Ustx/UPart.cs +++ b/OpenUtau.Core/Ustx/UPart.cs @@ -75,7 +75,7 @@ public override void AfterLoad(UProject project, UTrack track) { foreach (var note in notes) { note.AfterLoad(project, track, this); } - Duration = GetMinDurTick(project); + Duration = Math.Max(Duration, GetMinDurTick(project)); foreach (var curve in curves) { if (project.expressions.TryGetValue(curve.abbr, out var descriptor)) { curve.descriptor = descriptor;