remove timeout as this is causing flickering during startup

pull/97071/head
Sandeep Somavarapu 2020-05-06 10:56:30 +02:00
parent a54912ca12
commit ed00093227
1 changed files with 1 additions and 2 deletions

View File

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