Merge pull request #2352 from JKI12/master

Change to expose keyboard shortcuts for chapter navigation
This commit is contained in:
dkanada 2021-02-02 03:38:23 +09:00 committed by GitHub
commit 345e466a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1156,6 +1156,12 @@ import { appRouter } from '../../../components/appRouter';
case '<':
playbackManager.decreasePlaybackRate(currentPlayer);
break;
case 'PageUp':
playbackManager.nextChapter(currentPlayer);
break;
case 'PageDown':
playbackManager.previousChapter(currentPlayer);
break;
}
}