Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into misc-fix

This commit is contained in:
Ajay
2022-02-06 13:42:58 -05:00
49 changed files with 8114 additions and 27995 deletions

View File

@@ -54,6 +54,14 @@ interface SBConfig {
categoryPillUpdate: boolean,
darkMode: boolean,
// Used to cache calculated text color info
categoryPillColors: {
[key in Category]: {
lastColor: string,
textColor: string
}
}
skipKeybind: Keybind,
startSponsorKeybind: Keybind,
submitKeybind: Keybind,
@@ -210,6 +218,8 @@ const Config: SBObject = {
categoryPillUpdate: false,
darkMode: true,
categoryPillColors: {},
/**
* Default keybinds should not set "code" as that's gonna be different based on the user's locale. They should also only use EITHER ctrl OR alt modifiers (or none).
* Using ctrl+alt, or shift may produce a different character that we will not be able to recognize in different locales.