dont disable next/prev buttons
This commit is contained in:
parent
764ae899a0
commit
500e44fa81
@ -25,15 +25,13 @@
|
|||||||
|
|
||||||
<!-- Controls--->
|
<!-- Controls--->
|
||||||
<div class="col-auto p-0">
|
<div class="col-auto p-0">
|
||||||
<b-button variant="link" class="m-2"
|
<b-button variant="link" class="m-2" @click="playPrevious">
|
||||||
:disabled="!hasPrevious" @click="playPrevious">
|
|
||||||
<Icon icon="skip-start-fill"/>
|
<Icon icon="skip-start-fill"/>
|
||||||
</b-button>
|
</b-button>
|
||||||
<b-button variant="link" size="lg" class="m-2" @click="playPause">
|
<b-button variant="link" size="lg" class="m-2" @click="playPause">
|
||||||
<Icon :icon="isPlaying ? 'pause-fill' : 'play-fill'"/>
|
<Icon :icon="isPlaying ? 'pause-fill' : 'play-fill'"/>
|
||||||
</b-button>
|
</b-button>
|
||||||
<b-button variant="link" class="m-2"
|
<b-button variant="link" class="m-2" @click="playNext">
|
||||||
:disabled="!hasNext" @click="playNext">
|
|
||||||
<Icon icon="skip-end-fill"/>
|
<Icon icon="skip-end-fill"/>
|
||||||
</b-button>
|
</b-button>
|
||||||
</div>
|
</div>
|
||||||
@ -70,8 +68,6 @@ export default Vue.extend({
|
|||||||
...mapGetters("player", [
|
...mapGetters("player", [
|
||||||
"track",
|
"track",
|
||||||
"progress",
|
"progress",
|
||||||
"hasNext",
|
|
||||||
"hasPrevious",
|
|
||||||
]),
|
]),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user