Skip to content

Commit a44ea64

Browse files
fix using shift on watch page (#8491)
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
1 parent 088a64f commit a44ea64

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2283,6 +2283,9 @@ export default defineComponent({
22832283
changeVolume(-0.05)
22842284
break
22852285
case KeyboardShortcuts.VIDEO_PLAYER.PLAYBACK.SMALL_REWIND:
2286+
if (event.shiftKey) {
2287+
break
2288+
}
22862289
event.preventDefault()
22872290
if (canChapterJump(event, 'previous')) {
22882291
// Jump to the previous chapter
@@ -2294,6 +2297,9 @@ export default defineComponent({
22942297
}
22952298
break
22962299
case KeyboardShortcuts.VIDEO_PLAYER.PLAYBACK.SMALL_FAST_FORWARD:
2300+
if (event.shiftKey) {
2301+
break
2302+
}
22972303
event.preventDefault()
22982304
if (canChapterJump(event, 'next')) {
22992305
// Jump to the next chapter

0 commit comments

Comments
 (0)