From 9c8b2f2f08e03e93a79c6a643b9b43edb4e41a86 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 21 Nov 2019 08:52:50 +0100 Subject: [PATCH] remove leftover console.log --- .../workbench/browser/parts/editor/noTabsTitleControl.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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); } }