mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
hide all outputs (builtin and renderers) fix #119690.
This commit is contained in:
@@ -443,14 +443,14 @@ abstract class AbstractElementRenderer extends Disposable {
|
||||
this.cell.layoutChange();
|
||||
}
|
||||
|
||||
private _hideOutputsRaw() {
|
||||
protected _hideOutputsRaw() {
|
||||
if (this._outputEditorContainer) {
|
||||
this._outputEditorContainer.style.display = 'none';
|
||||
this.cell.rawOutputHeight = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private _hideOutputsEmptyView() {
|
||||
protected _hideOutputsEmptyView() {
|
||||
this.cell.layoutChange();
|
||||
}
|
||||
|
||||
@@ -931,6 +931,10 @@ abstract class SingleSideDiffElement extends AbstractElementRenderer {
|
||||
}
|
||||
|
||||
_disposeOutput() {
|
||||
this._hideOutputsRaw();
|
||||
this._hideOutputsRenderer();
|
||||
this._hideOutputsEmptyView();
|
||||
|
||||
this.cell.rawOutputHeight = 0;
|
||||
this.cell.outputStatusHeight = 0;
|
||||
this.templateData.outputHeaderContainer.style.display = 'none';
|
||||
@@ -1314,6 +1318,10 @@ export class ModifiedElement extends AbstractElementRenderer {
|
||||
}
|
||||
|
||||
_disposeOutput() {
|
||||
this._hideOutputsRaw();
|
||||
this._hideOutputsRenderer();
|
||||
this._hideOutputsEmptyView();
|
||||
|
||||
this.cell.rawOutputHeight = 0;
|
||||
this.cell.outputStatusHeight = 0;
|
||||
this.templateData.outputHeaderContainer.style.display = 'none';
|
||||
|
||||
Reference in New Issue
Block a user