Add keybind for closing skip notices

Fixes #1915
This commit is contained in:
Ajay
2023-12-22 11:48:21 -05:00
parent 157216148c
commit 8496e32cfe
5 changed files with 19 additions and 4 deletions

View File

@@ -95,6 +95,7 @@ interface SBConfig {
actuallySubmitKeybind: Keybind;
nextChapterKeybind: Keybind;
previousChapterKeybind: Keybind;
closeSkipNoticeKeybind: Keybind;
// What categories should be skipped
categorySelections: CategorySelection[];
@@ -345,6 +346,7 @@ const syncDefaults = {
actuallySubmitKeybind: { key: "'", ctrl: true },
nextChapterKeybind: { key: "ArrowRight", ctrl: true },
previousChapterKeybind: { key: "ArrowLeft", ctrl: true },
closeSkipNoticeKeybind: { key: "Backspace" },
categorySelections: [{
name: "sponsor" as Category,