Merge pull request #4180 from Tyriar/clear_atlas

Fix clearTextureAtlas call as implemented on IRenderer
This commit is contained in:
Daniel Imms
2022-10-07 14:31:28 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,6 +62,6 @@ export class WebglAddon implements ITerminalAddon {
}
public clearTextureAtlas(): void {
this._renderer?.clearCharAtlas();
this._renderer?.clearTextureAtlas();
}
}
@@ -295,7 +295,7 @@ export class WebglRenderer extends Disposable implements IRenderer {
}
}
public clearCharAtlas(): void {
public clearTextureAtlas(): void {
this._charAtlas?.clearTexture();
this._clearModel(true);
this._updateModel(0, this._terminal.rows - 1);