Skip to content

Commit 9a6c316

Browse files
authored
experiment: ensure we render at full fps when scrolling(?)
1 parent 1c0e224 commit 9a6c316

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/akanework/gramophone/ui/components/NewLyricsView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class NewLyricsView(context: Context, attrs: AttributeSet?) : ScrollingView2(con
272272
requestLayout()
273273
return
274274
}
275-
var animating = false
275+
var animating = currentSmoothScroll != null
276276
var delayedScrollDoneForFrame = false
277277
val globalPaddingTop = spForRender!!.first[2]
278278
var heightSoFar = globalPaddingTop.toDouble()

0 commit comments

Comments
 (0)