commit | 973bb96890e3cd7bba83a693cc186d2a5ad32ba0 | [log] [tgz] |
---|---|---|
author | Benedikt Meurer <[email protected]> | Mon Oct 05 13:53:34 2020 |
committer | Commit Bot <[email protected]> | Mon Oct 05 15:45:11 2020 |
tree | 95ed833e129c6bcec621a5c3ee6927f93655068c | |
parent | 23beaad6c57c604c546e4f492bba9a9dd3c0cffb [diff] [blame] |
Fix accidentally inversed experiment. This undoes an accidental change in https://crrev.com/c/2403325 which flipped the check for the 'keyboardShortcutEditor' experiment. Bug: chromium:1011811 Tbr: [email protected] Change-Id: I0705a621095a17460ee1b698f5a528af422e2aa5 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2450029 Reviewed-by: Benedikt Meurer <[email protected]> Reviewed-by: Simon Zünd <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]>
diff --git a/front_end/ui/ShortcutRegistry.js b/front_end/ui/ShortcutRegistry.js index 1674ecb..73bd80c 100644 --- a/front_end/ui/ShortcutRegistry.js +++ b/front_end/ui/ShortcutRegistry.js
@@ -398,7 +398,7 @@ this._devToolsDefaultShortcutActions.clear(); /** @type {!Array<!{keyCode: number, modifiers: number}>} */ const forwardedKeys = []; - if (!Root.Runtime.experiments.isEnabled('keyboardShortcutEditor')) { + if (Root.Runtime.experiments.isEnabled('keyboardShortcutEditor')) { /** @type {!Array<!{action: string, descriptors: !Array.<!Descriptor>, type: !Type}>} */ const userShortcuts = this._userShortcutsSetting.get(); for (const userShortcut of userShortcuts) {