author | Miriam Budayr <35577323+miriambudayr@users.noreply.github.com> |
Tue, 16 Apr 2019 16:52:29 +0000 | |
changeset 469769 | 09bffecb192bb4f446b06a20efcfec94d880afc8 |
parent 469768 | af78616388ce435aa4a51263a81ad3bbd9e4a2d4 |
child 469770 | 4b2f5b362c25414c7c3b7075b026e3b6340d2acd |
push id | 35882 |
push user | cbrindusan@mozilla.com |
push date | Wed, 17 Apr 2019 15:54:01 +0000 |
treeherder | mozilla-central@37185c0ae520 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jlast |
bugs | 1544530 |
milestone | 68.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/devtools/client/debugger/src/components/App.js +++ b/devtools/client/debugger/src/components/App.js @@ -147,26 +147,31 @@ class App extends Component<Props, State onEscape = (_, e) => { const { activeSearch, closeActiveSearch, closeQuickOpen, quickOpenEnabled } = this.props; + const { shortcutsModalEnabled } = this.state; if (activeSearch) { e.preventDefault(); closeActiveSearch(); } if (quickOpenEnabled) { e.preventDefault(); closeQuickOpen(); } + + if (shortcutsModalEnabled) { + this.toggleShortcutsModal(); + } }; onCommandSlash = () => { this.toggleShortcutsModal(); }; isHorizontal() { return this.props.orientation === "horizontal";