diff --git a/public/static/app.css b/public/static/app.css index aac381a..0339e37 100644 --- a/public/static/app.css +++ b/public/static/app.css @@ -95,6 +95,14 @@ td.fillCell>* { color: var(--yellow); } +.keepPlaying { + z-index: 1; + position: absolute; + cursor: pointer; + right: 0; +} + + /* DIALOGS */ diff --git a/src/components/Player.vue b/src/components/Player.vue index 5053261..e8ee84d 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -147,6 +147,7 @@ export default { if (this.selectedTrack.parent.progress) { this.skipToSecond(this.selectedTrack.parent.progress.progress); + this.selectedTrack.parent.progress = undefined; } else { // Try to fix SAFARI this.audio.play(); diff --git a/src/components/dialogs/AlbumViewer.vue b/src/components/dialogs/AlbumViewer.vue index 0e84074..a4c8cac 100644 --- a/src/components/dialogs/AlbumViewer.vue +++ b/src/components/dialogs/AlbumViewer.vue @@ -6,7 +6,8 @@
- + +
-

Progress

-
  • @@ -217,7 +216,9 @@ export default { this.$store.dispatch("albums/shareDisable", this.selectedAlbum); }, loadUserProgress() { - this.$store.dispatch("user/getProgress", this.selectedAlbum); + console.log(this.selectedTrack); + if (this.selectedTrack.parent._id != this.selectedAlbum._id) + this.$store.dispatch("user/getProgress", this.selectedAlbum); } }, computed: {