From ed00093227af5a14ebd421b4c0392852cfa978fa Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 6 May 2020 10:56:30 +0200 Subject: [PATCH] remove timeout as this is causing flickering during startup --- src/vs/workbench/browser/parts/compositeBar.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vs/workbench/browser/parts/compositeBar.ts b/src/vs/workbench/browser/parts/compositeBar.ts index 84ed8770ad3..0181b223f95 100644 --- a/src/vs/workbench/browser/parts/compositeBar.ts +++ b/src/vs/workbench/browser/parts/compositeBar.ts @@ -275,8 +275,7 @@ export class CompositeBar extends Widget implements ICompositeBar { // Add to the model if (this.model.add(id, name, order)) { this.computeSizes([this.model.findItem(id)]); - // Set timeout helps prevent flicker - setTimeout(() => this.updateCompositeSwitcher(), 0); + this.updateCompositeSwitcher(); } }