소스 검색

fix: fixed issue where due to rounded durations, video's wouldn't start in EditSong

Kristian Vos 5 년 전
부모
커밋
0902796684
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      frontend/components/Modals/EditSong.vue

+ 1 - 1
frontend/components/Modals/EditSong.vue

@@ -576,7 +576,7 @@ export default {
 						this.youtubeVideoDuration = youtubeDuration;
 						this.youtubeVideoNote = "";
 						youtubeDuration -= _this.editing.song.skipDuration;
-						if (_this.editing.song.duration > youtubeDuration) {
+						if (_this.editing.song.duration > youtubeDuration + 1) {
 							this.video.player.stopVideo();
 							_this.video.paused = true;
 							Toast.methods.addToast(