From d5c40be2abac7e96d2618915f963c8bead83937e Mon Sep 17 00:00:00 2001 From: bob1520 <80553357+hockerschwan@users.noreply.github.com> Date: Wed, 30 Mar 2022 02:06:54 +0000 Subject: [PATCH] defaultSkipInterval * player.playbackRate() (#2153) --- .../components/ft-video-player/ft-video-player.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index cc8d00cf..6bd60840 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -1497,7 +1497,7 @@ export default Vue.extend({ // J Key // Rewind by 2x the time-skip interval (in seconds) event.preventDefault() - this.changeDurationBySeconds(-this.defaultSkipInterval * 2) + this.changeDurationBySeconds(-this.defaultSkipInterval * this.player.playbackRate() * 2) break case 75: // K Key @@ -1509,7 +1509,7 @@ export default Vue.extend({ // L Key // Fast-Forward by 2x the time-skip interval (in seconds) event.preventDefault() - this.changeDurationBySeconds(this.defaultSkipInterval * 2) + this.changeDurationBySeconds(this.defaultSkipInterval * this.player.playbackRate() * 2) break case 79: // O Key @@ -1557,13 +1557,13 @@ export default Vue.extend({ // Left Arrow Key // Rewind by the time-skip interval (in seconds) event.preventDefault() - this.changeDurationBySeconds(-this.defaultSkipInterval * 1) + this.changeDurationBySeconds(-this.defaultSkipInterval * this.player.playbackRate()) break case 39: // Right Arrow Key // Fast-Forward by the time-skip interval (in seconds) event.preventDefault() - this.changeDurationBySeconds(this.defaultSkipInterval * 1) + this.changeDurationBySeconds(this.defaultSkipInterval * this.player.playbackRate()) break case 73: // I Key