Trigger scroll when ignoring event
This is a less aggressive fix that doesn't regress tests
This commit is contained in:
@@ -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)
|
// Ignore the event if it was flagged to ignore (when the source of the event is from Viewport)
|
||||||
if (this._ignoreNextScrollEvent) {
|
if (this._ignoreNextScrollEvent) {
|
||||||
this._ignoreNextScrollEvent = false;
|
this._ignoreNextScrollEvent = false;
|
||||||
|
// Still trigger the scroll so lines get refreshed
|
||||||
|
this._scrollLines(0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user