Skip to content

Commit

Permalink
remove leftover console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Nov 21, 2019
1 parent 7521ebd commit 9c8b2f2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/vs/workbench/browser/parts/editor/noTabsTitleControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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);
}
}

Expand Down

0 comments on commit 9c8b2f2

Please sign in to comment.