From d35a9d925df701a7c701532a7b71137e44e52b29 Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Wed, 25 Jan 2017 16:19:06 -0800 Subject: [PATCH] Don't focus first editor (fixes #18931) --- .../parts/walkThrough/electron-browser/walkThroughPart.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.ts b/src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.ts index a11b0ea11f3..17e340d9fea 100644 --- a/src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.ts +++ b/src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.ts @@ -284,10 +284,6 @@ export class WalkThroughPart extends BaseEditor { this.contentDisposables.push(editor.onDidChangeModelContent(() => updateHeight(false))); this.contentDisposables.push(this.themeService.onDidColorThemeChange(theme => editor.updateOptions({ theme: theme.id }))); - - // if (i === 0) { - // editor.focus(); - // } }); if (input.onReady) { input.onReady(innerContent); -- GitLab