fix bouncing on re render

This commit is contained in:
meganrogge
2022-02-08 14:32:29 -06:00
parent 723e915895
commit 571bf9e533
2 changed files with 7 additions and 20 deletions
+1 -5
View File
@@ -569,12 +569,8 @@ export class Terminal extends CoreTerminal implements ITerminal {
this.register(this._onScroll.event(ev => {
this.viewport!.syncScrollArea();
this._selectionService!.refresh();
this._decorationService!.refresh();
}));
this.register(addDisposableDomListener(this._viewportElement, 'scroll', () => {
this._selectionService!.refresh();
this._decorationService!.refresh();
}));
this.register(addDisposableDomListener(this._viewportElement, 'scroll', () => this._selectionService!.refresh()));
this._mouseZoneManager = this._instantiationService.createInstance(MouseZoneManager, this.element, this.screenElement);
this.register(this._mouseZoneManager);