Fix automatic scroll speed

This commit is contained in:
Koitharu
2023-03-31 19:29:55 +03:00
parent f42e3d7912
commit b81ecda43e
2 changed files with 3 additions and 3 deletions

View File

@@ -17,8 +17,8 @@ import org.koitharu.kotatsu.core.prefs.AppSettings
import org.koitharu.kotatsu.core.prefs.observeAsFlow
import kotlin.math.roundToLong
private const val MAX_DELAY = 60L
private const val MAX_SWITCH_DELAY = 12_000L
private const val MAX_DELAY = 20L
private const val MAX_SWITCH_DELAY = 10_000L
private const val INTERACTION_SKIP_MS = 1_000L
class ScrollTimer @AssistedInject constructor(

View File

@@ -137,7 +137,7 @@
android:contentDescription="@string/automatic_scroll"
android:labelFor="@id/switch_scroll_timer"
android:valueFrom="0.2"
android:valueTo="1"
android:valueTo="0.9"
android:visibility="gone"
app:labelBehavior="gone"
tools:visibility="visible" />