mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
@@ -2458,6 +2458,7 @@ function hotkeyListener(e: KeyboardEvent): void {
|
||||
|
||||
const skipKey = Config.config.skipKeybind;
|
||||
const skipToHighlightKey = Config.config.skipToHighlightKeybind;
|
||||
const closeSkipNoticeKey = Config.config.closeSkipNoticeKeybind;
|
||||
const startSponsorKey = Config.config.startSponsorKeybind;
|
||||
const submitKey = Config.config.actuallySubmitKeybind;
|
||||
const openSubmissionMenuKey = Config.config.submitKeybind;
|
||||
@@ -2475,6 +2476,12 @@ function hotkeyListener(e: KeyboardEvent): void {
|
||||
skipButtonControlBar.toggleSkip.call(skipButtonControlBar);
|
||||
}
|
||||
|
||||
return;
|
||||
} else if (keybindEquals(key, closeSkipNoticeKey)) {
|
||||
for (let i = 0; i < skipNotices.length; i++) {
|
||||
skipNotices.pop().close();
|
||||
}
|
||||
|
||||
return;
|
||||
} else if (keybindEquals(key, startSponsorKey)) {
|
||||
startOrEndTimingNewSegment();
|
||||
|
||||
Reference in New Issue
Block a user