optimization: remove document fragment

This commit is contained in:
Jörg Breitbart
2023-07-29 23:58:15 +02:00
parent 5f98db9b76
commit 64d04f0712
3 changed files with 76 additions and 76 deletions
+2 -2
View File
@@ -369,7 +369,7 @@ export class DomRenderer extends Disposable implements IRenderer {
break;
}
rowElement.replaceChildren(
this._rowFactory.createRow(
...this._rowFactory.createRow(
lineData,
row,
row === cursorAbsoluteY,
@@ -436,7 +436,7 @@ export class DomRenderer extends Disposable implements IRenderer {
break;
}
rowElement.replaceChildren(
this._rowFactory.createRow(
...this._rowFactory.createRow(
bufferline,
row,
row === cursorAbsoluteY,