mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-12 17:48:19 +01:00
Fixes #197942
This commit is contained in:
committed by
Henning Dieterichs
parent
d68e8f4016
commit
666f8ddefc
@@ -125,7 +125,7 @@ export class DiffEditorItemTemplate extends Disposable implements IPooledObject<
|
||||
this._elements.root.style.height = `${verticalRange.length}px`;
|
||||
this._elements.root.style.width = `${width}px`;
|
||||
this._elements.root.style.position = 'absolute';
|
||||
this._editor.layout({ width, height: verticalRange.length });
|
||||
this._editor.layout({ width, height: verticalRange.length - (this._elements.root.clientHeight - this._elements.editor.clientHeight) });
|
||||
this._editor.getOriginalEditor().setScrollTop(editorScroll);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user