push history item after 10%. fix #27
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:
parent
2abc46216d
commit
2b79f47d57
@ -146,8 +146,6 @@ export default {
|
|||||||
this.audio.pause();
|
this.audio.pause();
|
||||||
this.audio.src = url;
|
this.audio.src = url;
|
||||||
|
|
||||||
this.pushHistoryItem();
|
|
||||||
|
|
||||||
if (this.currentTrackParent.progress) {
|
if (this.currentTrackParent.progress) {
|
||||||
if (this.currentTrackParent.progress.id == this.selectedTrack._id) {
|
if (this.currentTrackParent.progress.id == this.selectedTrack._id) {
|
||||||
this.skipToSecond(this.currentTrackParent.progress.progress);
|
this.skipToSecond(this.currentTrackParent.progress.progress);
|
||||||
@ -297,6 +295,7 @@ export default {
|
|||||||
track: this.selectedTrack,
|
track: this.selectedTrack,
|
||||||
rate: this.audioBpm,
|
rate: this.audioBpm,
|
||||||
});
|
});
|
||||||
|
this.pushHistoryItem();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user