mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Merge pull request #186562 from microsoft/aamunger/notebookToolbar
prevent exception during notebook toolbar layout call
This commit is contained in:
commit
2e8ab06755
|
@ -645,7 +645,7 @@ function actionOverflowHelper(initialPrimaryActions: IActionModel[], initialSeco
|
|||
}
|
||||
}
|
||||
|
||||
for (let i = (renderActions.length - 1); i !== 0; i--) {
|
||||
for (let i = (renderActions.length - 1); i > 0; i--) {
|
||||
const temp = renderActions[i];
|
||||
if (temp.size === 0) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue