Trigger scroll when ignoring event

This is a less aggressive fix that doesn't regress tests
This commit is contained in:
Daniel Imms
2021-05-11 06:52:04 -07:00
parent da39129bd2
commit bcbcc71bfc
+2
View File
@@ -151,6 +151,8 @@ export class Viewport extends Disposable implements IViewport {
// Ignore the event if it was flagged to ignore (when the source of the event is from Viewport)
if (this._ignoreNextScrollEvent) {
this._ignoreNextScrollEvent = false;
// Still trigger the scroll so lines get refreshed
this._scrollLines(0);
return;
}