Skip to content

Commit ed00093

Browse files
committed
remove timeout as this is causing flickering during startup
1 parent a54912c commit ed00093

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/vs/workbench/browser/parts/compositeBar.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,7 @@ export class CompositeBar extends Widget implements ICompositeBar {
275275
// Add to the model
276276
if (this.model.add(id, name, order)) {
277277
this.computeSizes([this.model.findItem(id)]);
278-
// Set timeout helps prevent flicker
279-
setTimeout(() => this.updateCompositeSwitcher(), 0);
278+
this.updateCompositeSwitcher();
280279
}
281280
}
282281

0 commit comments

Comments
 (0)