Browse Source

fix: fixed another temporary issue with EditSong not starting at SkipDuration

Kristian Vos 5 years ago
parent
commit
4ef655edcf
1 changed files with 2 additions and 3 deletions
  1. 2 3
      frontend/components/Modals/EditSong.vue

+ 2 - 3
frontend/components/Modals/EditSong.vue

@@ -672,9 +672,8 @@ export default {
 						}
 
 						if (
-							_this.getCurrentTime(time => {
-								return time;
-							}) < _this.editing.song.skipDuration
+							_this.video.player.getCurrentTime() <
+							_this.editing.song.skipDuration
 						) {
 							_this.video.player.seekTo(
 								_this.editing.song.skipDuration