remove timeout as this is causing flickering during startup
parent
a54912ca12
commit
ed00093227
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue