mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-11-06 02:40:58 +01:00
Add option for dpad skipping with no seek bar (#1742)
## Description Adds a third option for d-pad seeking to not show any seek bar which only shows the skip indicator and not the seek bar along the bottom ### Related issues Original work to add other mode in #1650 Closes #1520 ### Testing Emulator testing ## Screenshots <img width="546" height="347" alt="image" src="https://github.com/user-attachments/assets/2872566e-4598-4284-92cb-95a45b307835" /> ## AI or LLM usage None
This commit is contained in:
parent
cf3c00a1e1
commit
26a23d673b
5 changed files with 26 additions and 13 deletions
|
|
@ -664,7 +664,7 @@ sealed interface AppPreference<Pref, T> {
|
|||
val DpadSeekModePref =
|
||||
AppChoicePreference<AppPreferences, DpadSeekMode>(
|
||||
title = R.string.d_pad_seek_mode_title,
|
||||
defaultValue = DpadSeekMode.SKIP_TIME,
|
||||
defaultValue = DpadSeekMode.SEEKBAR_MINIMAL,
|
||||
getter = { it.playbackPreferences.dpadSeekMode },
|
||||
setter = { prefs, value ->
|
||||
prefs.updatePlaybackPreferences { dpadSeekMode = value }
|
||||
|
|
@ -672,6 +672,7 @@ sealed interface AppPreference<Pref, T> {
|
|||
displayValues = R.array.dpad_seek_mode_options,
|
||||
indexToValue = { DpadSeekMode.forNumber(it) },
|
||||
valueToIndex = { if (it != DpadSeekMode.UNRECOGNIZED) it.number else 0 },
|
||||
subtitles = R.array.dpad_seek_mode_summaries,
|
||||
)
|
||||
|
||||
val GlobalContentScale =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue