Fix automatic scroll speed

pull/311/head
Koitharu 3 years ago
parent f42e3d7912
commit b81ecda43e
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

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

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

Loading…
Cancel
Save