diff --git a/src/vs/workbench/browser/parts/editor/noTabsTitleControl.ts b/src/vs/workbench/browser/parts/editor/noTabsTitleControl.ts index 8f3af39d0ae..115bfb381ce 100644 --- a/src/vs/workbench/browser/parts/editor/noTabsTitleControl.ts +++ b/src/vs/workbench/browser/parts/editor/noTabsTitleControl.ts @@ -89,10 +89,7 @@ export class NoTabsTitleControl extends TitleControl { EventHelper.stop(e, false); // delayed to let the onTitleClick() come first which can cause a focus change which can close quick open - setTimeout(() => { - console.log('quick open show'); - this.quickOpenService.show(); - }); + setTimeout(() => this.quickOpenService.show()); } private onTitleDoubleClick(e: MouseEvent): void { @@ -117,9 +114,7 @@ export class NoTabsTitleControl extends TitleControl { // gesture tap should open the quick open // editorGroupView will focus on the editor again when there are mouse/pointer/touch down events // we need to wait a bit as `GesureEvent.Tap` is generated from `touchstart` and then `touchend` evnets, which are not an atom event. - setTimeout(() => { - this.quickOpenService.show(); - }, 50); + setTimeout(() => this.quickOpenService.show(), 50); } }