Browse Source

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

Kristian Vos 5 năm trước cách đây
mục cha
commit
4ef655edcf
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  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