mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 16:39:17 +02:00
Reset player position before playing previous track
This commit is contained in:
parent
876aee19cf
commit
6b8dc1b53c
4 changed files with 15 additions and 18 deletions
|
@ -58,9 +58,8 @@
|
|||
<div class="two wide column controls ui grid">
|
||||
<div
|
||||
title="Previous track"
|
||||
class="two wide column control"
|
||||
:disabled="!hasPrevious">
|
||||
<i @click="previous" :class="['ui', {'disabled': !hasPrevious}, 'step', 'backward', 'big', 'icon']" ></i>
|
||||
class="two wide column control">
|
||||
<i @click="previous" class="ui step backward big icon"></i>
|
||||
</div>
|
||||
<div
|
||||
v-if="!playing"
|
||||
|
@ -205,7 +204,6 @@ export default {
|
|||
...mapGetters({
|
||||
currentTrack: 'queue/currentTrack',
|
||||
hasNext: 'queue/hasNext',
|
||||
hasPrevious: 'queue/hasPrevious',
|
||||
durationFormatted: 'player/durationFormatted',
|
||||
currentTimeFormatted: 'player/currentTimeFormatted',
|
||||
progress: 'player/progress'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue