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(); } }