Skip to content

Commit f56675f

Browse files
authored
Merge pull request #5127 from jeanp413/fix-vscode-224750
Fix scroll dimensions when switching buffers
2 parents aa94fd6 + ad38b1a commit f56675f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/browser/Viewport.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export class Viewport extends Disposable {
9494
}));
9595

9696
this._register(this._bufferService.onResize(() => this._queueSync()));
97+
this._register(this._bufferService.buffers.onBufferActivate(() => this._queueSync()));
9798
this._register(this._bufferService.onScroll(() => this._sync()));
9899

99100
this._register(this._scrollableElement.onScroll(e => this._handleScroll(e)));

0 commit comments

Comments
 (0)