Skip to content

Commit

Permalink
fix: add elapsed time
Browse files Browse the repository at this point in the history
  • Loading branch information
sircharlo committed Dec 6, 2024
1 parent d132dff commit 52b7053
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/components/media/MediaItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,20 @@
class="absolute duration-slider"
>
<div class="row flex-center">
<div
class="col-shrink text-caption text-accent-400 q-mx-sm text-left"
style="min-width: 40px"
>
{{
formatTime(
Math.max(
(mediaPlayingCurrentPosition || 0) -
(customDurationMin || 0),
0,
),
)
}}
</div>
<div class="col" style="height: 28px">
<q-slider
v-model="mediaPlayingCurrentPosition"
Expand Down Expand Up @@ -344,7 +358,7 @@
/>
</div>
<div
class="col-shrink text-caption q-mx-sm text-right"
class="col-shrink text-caption text-accent-400 q-mx-sm text-right"
style="min-width: 40px"
>
{{
Expand Down

0 comments on commit 52b7053

Please sign in to comment.