-
+
diff --git a/src/views/lyrics.vue b/src/views/lyrics.vue
index 8f1d32f..3673231 100644
--- a/src/views/lyrics.vue
+++ b/src/views/lyrics.vue
@@ -120,7 +120,7 @@
: $t('player.repeat')
"
:class="{ active: player.repeatMode !== 'off' }"
- @click.native="player.switchRepeatMode"
+ @click.native="switchRepeatMode"
>
@@ -164,7 +164,7 @@
v-show="!player.isPersonalFM"
:title="$t('player.shuffle')"
:class="{ active: player.shuffle }"
- @click.native="player.switchShuffle"
+ @click.native="switchShuffle"
>
@@ -332,6 +332,12 @@ export default {
methods: {
...mapMutations(['toggleLyrics']),
...mapActions(['likeATrack']),
+ playPrevTrack() {
+ this.player.playPrevTrack();
+ },
+ playOrPause() {
+ this.player.playOrPause();
+ },
playNextTrack() {
if (this.player.isPersonalFM) {
this.player.playNextFMTrack();
@@ -417,6 +423,12 @@ export default {
moveToFMTrash() {
this.player.moveToFMTrash();
},
+ switchRepeatMode() {
+ this.player.switchRepeatMode();
+ },
+ switchShuffle() {
+ this.player.switchShuffle();
+ },
getCoverColor() {
if (this.settings.lyricsBackground !== true) return;
const cover = this.currentTrack.al?.picUrl + '?param=1024y1024';