Fix onBufferChange event not working after reset

Co-authored-by: Megan Rogge (megan.rogge@microsoft.com)
This commit is contained in:
Daniel Imms
2021-01-05 09:32:09 -08:00
co-authored by PretaSOFT
parent b34289cc44
commit 7145130835
4 changed files with 21 additions and 20 deletions
+1 -2
View File
@@ -49,8 +49,7 @@ export class BufferService extends Disposable implements IBufferService {
}
public reset(): void {
this.buffers.dispose();
this.buffers = new BufferSet(this._optionsService, this);
this.buffers.reset();
this.isUserScrolling = false;
}
}