fix(lyrics): keep V3 collaborations on the primary side

This commit is contained in:
zarzet committed 2026-09-27 15:26:11 +07:00
1 parent 608675a255
commit 6decce0f8b
5 files changed
+116 -45

No files matched your search

+9
View File
@@ -3855,6 +3855,15 @@ TextAlign _lyricTextAlign(BuildContext context, LyricLine line) {
return context.isMornye ? TextAlign.start : TextAlign.center;
}
if (voice.isGroup) return TextAlign.left;
// Provider declarations can be missing or ordered by first appearance.
// The standard V labels retain their meaning regardless of that order.
switch (voice.id.toLowerCase()) {
case 'v1':
case 'v3':
return TextAlign.left;
case 'v2':
return TextAlign.right;
}
return voice.index.isEven ? TextAlign.left : TextAlign.right;
}