Skip to content

Commit

Permalink
解决结束时间提取错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JuchiaLu authored May 26, 2023
1 parent 5aeb4b7 commit 7ffe86f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SubtitleSpeaker/Form/BilingualSubtitle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public class BilingualSubtitle
{
public BilingualSubtitle(IEnumerable<SubtitleItem> subtitleItems)
{
subtitleItems = subtitleItems.OrderBy(item => item.StartTime);

int lineIndex = 0;
subtitleItems.ToList().ForEach(subtitleItem =>
{
Expand Down Expand Up @@ -173,4 +175,4 @@ string formatTimecodeLine()
return stringBuilder.ToString();
}
}
}
}

0 comments on commit 7ffe86f

Please sign in to comment.