ensure that labels are rendered initially to get a correct width cache.
This commit is contained in:
parent
e203c00d7e
commit
7824bf781a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue