From 80069fd4c047ac2e8bbf40dacb48b89435a29682 Mon Sep 17 00:00:00 2001 From: nift4 Date: Sat, 9 Nov 2024 22:20:23 +0100 Subject: [PATCH] adding a todo --- .../org/akanework/gramophone/ui/components/NewLyricsView.kt | 2 +- libphonograph | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/org/akanework/gramophone/ui/components/NewLyricsView.kt b/app/src/main/kotlin/org/akanework/gramophone/ui/components/NewLyricsView.kt index 9a9176a3d..002550139 100644 --- a/app/src/main/kotlin/org/akanework/gramophone/ui/components/NewLyricsView.kt +++ b/app/src/main/kotlin/org/akanework/gramophone/ui/components/NewLyricsView.kt @@ -306,7 +306,7 @@ class NewLyricsView(context: Context, attrs: AttributeSet) : View(context, attrs gradientProgress = lerpInv(gradientStartTime, gradientEndTime, posForRender.toFloat()) if (gradientProgress >= 0f && gradientProgress <= 1f) - spanStartGradient = word.charRange.first + spanStartGradient = word.charRange.first // TODO be greedy and eat as much as the line as can be eaten (is in same text direction). to fix japanese text moving bug } } else { spanEnd = it.text.length diff --git a/libphonograph b/libphonograph index 766abb901..cddb5f2dd 160000 --- a/libphonograph +++ b/libphonograph @@ -1 +1 @@ -Subproject commit 766abb90108373fcaf0451815ee73e7abdf0bf6d +Subproject commit cddb5f2dd9ec5f4869e9f2fe7f7bd5c95d2bff85