fix: Fixed the problem of incorrect lyric data for dual language lyrics when the OneLine option is turned on.

This commit is contained in:
real-zony 2022-03-19 12:03:29 +08:00
parent d250524208
commit 1840a10f1e

View File

@ -73,10 +73,10 @@ namespace ZonyLrcTools.Cli.Infrastructure.Lyric
// 遍历未处理的歌词项,将其添加到返回集合当中。
var leftWaitProcessIndex = leftMarkDict
.Where(item => item.Value)
.Where(item => !item.Value)
.Select(pair => pair.Key);
var rightWaitProcessIndex = rightMarkDict
.Where(item => item.Value)
.Where(item => !item.Value)
.Select(pair => pair.Key);
leftWaitProcessIndex.Foreach(index => newCollection.Add(left[index]));