Selaa lähdekoodia

render the correct index placedholder cell

Eric Charles 3 vuotta sitten
vanhempi
commit
765f095308
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/notebook/src/widget.ts

+ 1 - 1
packages/notebook/src/widget.ts

@@ -581,7 +581,7 @@ export class StaticNotebook extends Widget {
     ) {
       const index = this._renderedCellsCount;
       const cell = this._cellsArray[index];
-      this._renderPlaceholderCell(cell, index - 1);
+      this._renderPlaceholderCell(cell, index);
     }
   }