From a93bc0ed5ba87a5fede4cc33e46bf67825f5dd69 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Fri, 8 Sep 2023 13:48:23 +0300 Subject: [PATCH] Increase max autoscroll speed --- .../main/kotlin/org/koitharu/kotatsu/reader/ui/ScrollTimer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/org/koitharu/kotatsu/reader/ui/ScrollTimer.kt b/app/src/main/kotlin/org/koitharu/kotatsu/reader/ui/ScrollTimer.kt index c9cdb3516..b64161a82 100644 --- a/app/src/main/kotlin/org/koitharu/kotatsu/reader/ui/ScrollTimer.kt +++ b/app/src/main/kotlin/org/koitharu/kotatsu/reader/ui/ScrollTimer.kt @@ -17,7 +17,7 @@ import org.koitharu.kotatsu.core.prefs.AppSettings import org.koitharu.kotatsu.core.prefs.observeAsFlow import kotlin.math.roundToLong -private const val MAX_DELAY = 20L +private const val MAX_DELAY = 8L private const val MAX_SWITCH_DELAY = 10_000L private const val INTERACTION_SKIP_MS = 2_000L private const val SPEED_FACTOR_DELTA = 0.02f