mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-30 08:34:37 +00:00
fix: Fixed keyboard shortcuts not saving correctly, b=no-bug, c=kbs
This commit is contained in:
@@ -8,9 +8,12 @@ const { nsZenMultiWindowFeature } = ChromeUtils.importESModule(
|
||||
{ global: 'current' }
|
||||
);
|
||||
|
||||
ChromeUtils.importESModule('chrome://browser/content/zen-components/ZenKeyboardShortcuts.mjs', {
|
||||
global: 'current',
|
||||
});
|
||||
const { nsKeyShortcutModifiers } = ChromeUtils.importESModule(
|
||||
'chrome://browser/content/zen-components/ZenKeyboardShortcuts.mjs',
|
||||
{
|
||||
global: 'current',
|
||||
}
|
||||
);
|
||||
|
||||
var gZenMarketplaceManager = {
|
||||
async init() {
|
||||
|
||||
@@ -141,7 +141,7 @@ window.VALID_SHORTCUT_GROUPS = [
|
||||
'other',
|
||||
];
|
||||
|
||||
class nsKeyShortcutModifiers {
|
||||
export class nsKeyShortcutModifiers {
|
||||
#control = false;
|
||||
#alt = false;
|
||||
#shift = false;
|
||||
|
||||
Reference in New Issue
Block a user