subtitles offset keybinding

This commit is contained in:
Carlo Colombo
2024-02-09 22:31:12 +01:00
committed by Carlo Colombo
parent cf0d2076b5
commit 0e3f6fa77b
2 changed files with 21 additions and 0 deletions
+6
View File
@@ -1340,6 +1340,12 @@ export default function (view) {
case 'PageDown':
playbackManager.previousChapter(currentPlayer);
break;
case 'g':
subtitleSyncOverlay?.decrementOffset();
break;
case 'h':
subtitleSyncOverlay?.incrementOffset();
break;
}
}