pregress handling for artists
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -145,9 +145,9 @@ export default {
|
||||
|
||||
this.pushHistoryItem();
|
||||
|
||||
if (this.selectedTrack.parent.progress) {
|
||||
this.skipToSecond(this.selectedTrack.parent.progress.progress);
|
||||
this.selectedTrack.parent.progress = undefined;
|
||||
if (this.currentTrackParent.progress) {
|
||||
this.skipToSecond(this.currentTrackParent.progress.progress);
|
||||
this.currentTrackParent.progress = undefined;
|
||||
} else {
|
||||
// Try to fix SAFARI
|
||||
this.audio.play();
|
||||
@@ -275,7 +275,7 @@ export default {
|
||||
this.progress = this.audio.currentTime;
|
||||
let item = {
|
||||
id: this.selectedTrack._id,
|
||||
parentId: this.selectedTrack.parent._id,
|
||||
parentId: this.currentTrackParent._id,
|
||||
type: "track",
|
||||
progress: Math.round(this.progress)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user