Skip to content

Commit

Permalink
Merge pull request #5127 from jeanp413/fix-vscode-224750
Browse files Browse the repository at this point in the history
Fix scroll dimensions when switching buffers
  • Loading branch information
Tyriar authored Sep 20, 2024
2 parents aa94fd6 + ad38b1a commit f56675f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/Viewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit f56675f

Please sign in to comment.