mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
do not trigger outputs change when there is no real change.
This commit is contained in:
@@ -462,6 +462,10 @@ export class ExtHostNotebookDocument extends Disposable {
|
||||
return [diff.start, diff.deleteCount, outputs];
|
||||
});
|
||||
|
||||
if (!outputDtos.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
await this._proxy.$spliceNotebookCellOutputs(this._viewType, this.uri, cell.handle, outputDtos);
|
||||
this._emitter.emitCellOutputsChange({
|
||||
document: this.notebookDocument,
|
||||
|
||||
Reference in New Issue
Block a user