Merge pull request #5127 from jeanp413/fix-vscode-224750

Fix scroll dimensions when switching buffers
This commit is contained in:
Daniel Imms
2024-09-20 10:36:05 -07:00
committed by GitHub
+1
View File
@@ -94,6 +94,7 @@ export class Viewport extends Disposable {
}));
this._register(this._bufferService.onResize(() => this._queueSync()));
this._register(this._bufferService.buffers.onBufferActivate(() => this._queueSync()));
this._register(this._bufferService.onScroll(() => this._sync()));
this._register(this._scrollableElement.onScroll(e => this._handleScroll(e)));