diff --git a/components/readers/Reader.vue b/components/readers/Reader.vue index 80acd083..cd9559e4 100644 --- a/components/readers/Reader.vue +++ b/components/readers/Reader.vue @@ -54,7 +54,7 @@ - +

{{ $strings.HeaderEreaderSettings }}

@@ -100,6 +100,12 @@
+
+
+

{{ $strings.LabelNavigateWithVolumeWhilePlaying}}:

+
+ +
@@ -132,7 +138,8 @@ export default { lineSpacing: 115, spread: 'auto', textStroke: 0, - navigateWithVolume: 'enabled' + navigateWithVolume: 'enabled', + navigateWithVolumeWhilePlaying: false } } }, @@ -209,6 +216,18 @@ export default { } ] }, + navigateWithVolumeWhilePlayingItems() { + return [ + { + text: this.$strings.LabelNavigateWithVolumeWhilePlayingEnabled, + value: true + }, + { + text: this.$strings.LabelNavigateWithVolumeWhilePlayingDisabled, + value: false + } + ] + }, themeItems() { return [ { @@ -424,7 +443,7 @@ export default { this.isInittingWatchVolume = true const isWatching = await VolumeButtons.isWatching() - if (this.ereaderSettings.navigateWithVolume !== 'none' && !this.isPlayerOpen) { + if (this.ereaderSettings.navigateWithVolume !== 'none' && (this.ereaderSettings.navigateWithVolumeWhilePlaying || !this.isPlayerOpen)) { if (!isWatching.value) { const options = { disableSystemVolumeHandler: true, diff --git a/strings/de.json b/strings/de.json index 49d435de..01c3e5a7 100644 --- a/strings/de.json +++ b/strings/de.json @@ -180,6 +180,9 @@ "LabelNavigateWithVolumeDisabled": "Aus", "LabelNavigateWithVolumeEnabled": "An", "LabelNavigateWithVolumeMirrored": "Umgekehrt", + "LabelNavigateWithVolumeWhilePlaying": "Auch bei Wiedergabe blättern", + "LabelNavigateWithVolumeWhilePlayingDisabled": "Aus", + "LabelNavigateWithVolumeWhilePlayingEnabled": "An", "LabelNever": "Nie", "LabelNewestAuthors": "Neueste Autoren", "LabelNewestEpisodes": "Neueste Episoden", diff --git a/strings/en-us.json b/strings/en-us.json index 064be93c..3b89edec 100644 --- a/strings/en-us.json +++ b/strings/en-us.json @@ -182,6 +182,9 @@ "LabelNavigateWithVolumeDisabled": "Off", "LabelNavigateWithVolumeEnabled": "On", "LabelNavigateWithVolumeMirrored": "Mirrored", + "LabelNavigateWithVolumeWhilePlaying": "Also Navigate while playing", + "LabelNavigateWithVolumeWhilePlayingDisabled": "Off", + "LabelNavigateWithVolumeWhilePlayingEnabled": "On", "LabelNever": "Never", "LabelNewestAuthors": "Newest Authors", "LabelNewestEpisodes": "Newest Episodes",