diff --git a/frontend/src/components/Layout/AudioControls.vue b/frontend/src/components/Layout/AudioControls.vue index 06856d6699d..7fa5eb0f0c1 100644 --- a/frontend/src/components/Layout/AudioControls.vue +++ b/frontend/src/components/Layout/AudioControls.vue @@ -95,6 +95,9 @@ diff --git a/frontend/src/components/Layout/TimeSlider.vue b/frontend/src/components/Layout/TimeSlider.vue index 75a8f359a08..44ae1186fa1 100644 --- a/frontend/src/components/Layout/TimeSlider.vue +++ b/frontend/src/components/Layout/TimeSlider.vue @@ -5,8 +5,10 @@ :max="runtime" thumb-label validate-on="input" + :focused="focusedTimeSlider" @start="clicked = true" - @end="onRelease"> + @end="onRelease" + @blur="focusedTimeSlider = false"> {{ formatTime(playbackManager.currentTime) }} @@ -23,6 +25,7 @@ import { computed, ref } from 'vue'; import { playbackManagerStore } from '@/store'; import { ticksToMs, formatTime } from '@/utils/time'; +import { focusedTimeSlider } from '@/composables/use-playerkeys'; const playbackManager = playbackManagerStore(); const currentInput = ref(0); diff --git a/frontend/src/components/Layout/VolumeSlider.vue b/frontend/src/components/Layout/VolumeSlider.vue index effb4a1014f..ab3322e1d52 100644 --- a/frontend/src/components/Layout/VolumeSlider.vue +++ b/frontend/src/components/Layout/VolumeSlider.vue @@ -12,7 +12,9 @@ class="volume-slider" hide-details thumb-label - max="100"> + max="100" + :focused="focusedVolumeSlider" + @blur="focusedVolumeSlider = false"> {{ Math.round(sliderValue) }} @@ -27,6 +29,7 @@ import IMdiVolumeMedium from 'virtual:icons/mdi/volume-medium'; import IMdiVolumeHigh from 'virtual:icons/mdi/volume-high'; import IMdiVolumeLow from 'virtual:icons/mdi/volume-low'; import { playbackManagerStore } from '@/store'; +import { focusedVolumeSlider } from '@/composables/use-playerkeys'; const playbackManager = playbackManagerStore(); diff --git a/frontend/src/components/Playback/PiPVideoPlayer.vue b/frontend/src/components/Playback/PiPVideoPlayer.vue index 091d7f6549a..a99d5fb0ccb 100644 --- a/frontend/src/components/Playback/PiPVideoPlayer.vue +++ b/frontend/src/components/Playback/PiPVideoPlayer.vue @@ -19,7 +19,7 @@ width="100%">