From 1840a10f1e34a52b9a71fb6898da9d6c63e3920a Mon Sep 17 00:00:00 2001 From: real-zony Date: Sat, 19 Mar 2022 12:03:29 +0800 Subject: [PATCH] fix: Fixed the problem of incorrect lyric data for dual language lyrics when the OneLine option is turned on. --- .../Infrastructure/Lyric/LyricItemCollection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZonyLrcTools.Cli/Infrastructure/Lyric/LyricItemCollection.cs b/src/ZonyLrcTools.Cli/Infrastructure/Lyric/LyricItemCollection.cs index 2923854..1d15932 100644 --- a/src/ZonyLrcTools.Cli/Infrastructure/Lyric/LyricItemCollection.cs +++ b/src/ZonyLrcTools.Cli/Infrastructure/Lyric/LyricItemCollection.cs @@ -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]));