This repository was archived by the owner on Jan 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,15 @@ import actions from "../actions";
1212import { ShortcutsModal } from "./ShortcutsModal" ;
1313import VisibilityHandler from "./shared/VisibilityHandler" ;
1414
15+ import SplitBox from "devtools-splitter" ;
16+ import ProjectSearch from "./ProjectSearch" ;
17+ import PrimaryPanes from "./PrimaryPanes" ;
18+ import Editor from "./Editor" ;
19+ import SecondaryPanes from "./SecondaryPanes" ;
20+ import WelcomeBox from "./WelcomeBox" ;
21+ import EditorTabs from "./Editor/Tabs" ;
22+ import QuickOpenModal from "./QuickOpenModal" ;
23+
1524import {
1625 getSelectedSource ,
1726 getPaneCollapse ,
@@ -139,17 +148,18 @@ class App extends Component<Props, State> {
139148 onEscape = ( _ , e ) => {
140149 const {
141150 activeSearch,
142- quickOpenEnabled,
143151 closeActiveSearch,
144- closeQuickOpen
152+ closeQuickOpen,
153+ quickOpenEnabled
145154 } = this . props ;
146155
147156 if ( activeSearch ) {
148157 e . preventDefault ( ) ;
149158 closeActiveSearch ( ) ;
150159 }
151160
152- if ( quickOpenEnabled === true ) {
161+ if ( quickOpenEnabled ) {
162+ e . preventDefault ( ) ;
153163 closeQuickOpen ( ) ;
154164 }
155165 } ;
You can’t perform that action at this time.
0 commit comments