push history item after 10%. fix #27
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Artem Anufrij 2023-10-04 11:29:32 +02:00
parent 2abc46216d
commit 2b79f47d57

View File

@ -146,8 +146,6 @@ export default {
this.audio.pause();
this.audio.src = url;
this.pushHistoryItem();
if (this.currentTrackParent.progress) {
if (this.currentTrackParent.progress.id == this.selectedTrack._id) {
this.skipToSecond(this.currentTrackParent.progress.progress);
@ -297,6 +295,7 @@ export default {
track: this.selectedTrack,
rate: this.audioBpm,
});
this.pushHistoryItem();
}
},
},