diff --git a/app/src/main/java/net/jeena/jtubetv/ui/player/PlayerSidebar.kt b/app/src/main/java/net/jeena/jtubetv/ui/player/PlayerSidebar.kt index 9cdc38d..7666884 100644 --- a/app/src/main/java/net/jeena/jtubetv/ui/player/PlayerSidebar.kt +++ b/app/src/main/java/net/jeena/jtubetv/ui/player/PlayerSidebar.kt @@ -245,7 +245,11 @@ private fun DescriptionScroll( .background(if (focused) Color(0x0DFFFFFF) else Color.Transparent) .onPreviewKeyEvent { ke -> if (ke.type != KeyEventType.KeyDown) return@onPreviewKeyEvent false - val step = (viewportPx * 0.85f).coerceAtLeast(240f) + // One press moves a third of a screenful, so consecutive stops + // overlap and every line of a long description gets shown (issue + // #23 review: the old 85% step jumped past the middle of the text + // on tube.jeena.net/w/p4HtZrDCMbPfGYpMfG9fMN). + val step = (viewportPx * 0.34f).coerceAtLeast(150f) val code = ke.nativeKeyEvent.keyCode // Match Compose's normalised key AND the raw keycode: remotes don't all // report the same native codes, and matching only the raw one left UP