ensure that labels are rendered initially to get a correct width cache.

This commit is contained in:
rebornix 2021-11-22 12:59:19 -08:00
parent e203c00d7e
commit 7824bf781a
No known key found for this signature in database
GPG key ID: 181FC90D15393C20

View file

@ -287,6 +287,7 @@ export class NotebookEditorToolbar extends Disposable {
this._notebookLeftToolbar.setActions([], []);
this._primaryActions.forEach(action => action.renderLabel = true);
this._notebookLeftToolbar.setActions(primaryActions, secondaryActions);
this._notebookRightToolbar.setActions(primaryRightActions, []);
this._secondaryActions = secondaryActions;