Fix audio player

Issue #645
This commit is contained in:
N-Pex 2025-06-19 15:20:43 +02:00
parent c082688bcb
commit 8ff0d6e6cb
3 changed files with 23 additions and 5 deletions

View file

@ -7,11 +7,11 @@
{{ currentTime }} / {{ totalTime }}
</div>
<div style="position:relative;flex: 1 1 100%">
<div style="position:absolute;left:18px;right:18px;top:0;bottom:0;height:100%;pointer-events:none">
<AudioWaveformView :event="event" style="width:100%;height:100%" />
</div>
<v-slider @update:modelValue="seeked" :disabled="!info.url" color="currentColor" track-color="#cccccc" class="play-progress" :modelValue="info.playPercent" min="0"
max="100" />
<div style="position:absolute;left:18px;right:18px;top:0;bottom:0;height:100%">
<AudioWaveformView :event="event" style="width:100%;height:100%" />
</div>
</div>
</div>
</template>