xterm-addon-webgl
Advanced tools
Comparing version 0.14.0-beta.49 to 0.14.0-beta.50
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.14.0-beta.49", | ||
"version": "0.14.0-beta.50", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -43,4 +43,4 @@ /** | ||
private _gl: IWebGL2RenderingContext; | ||
private _rectangleRenderer!: RectangleRenderer; | ||
private _glyphRenderer!: GlyphRenderer; | ||
private _rectangleRenderer: RectangleRenderer; | ||
private _glyphRenderer: GlyphRenderer; | ||
@@ -131,3 +131,3 @@ public readonly dimensions: IRenderDimensions; | ||
this._initializeWebGLState(); | ||
[this._rectangleRenderer, this._glyphRenderer] = this._initializeWebGLState(); | ||
@@ -240,3 +240,3 @@ this._isAttached = this._coreBrowserService.window.document.body.contains(this._core.screenElement!); | ||
*/ | ||
private _initializeWebGLState(): void { | ||
private _initializeWebGLState(): [RectangleRenderer, GlyphRenderer] { | ||
// Dispose any previous rectangle and glyph renderers before creating new ones. | ||
@@ -251,2 +251,4 @@ this._rectangleRenderer?.dispose(); | ||
this.handleCharSizeChanged(); | ||
return [this._rectangleRenderer, this._glyphRenderer]; | ||
} | ||
@@ -275,3 +277,2 @@ | ||
if (this._charAtlas !== atlas) { | ||
this._charAtlasDisposable?.dispose(); | ||
@@ -278,0 +279,0 @@ this._onChangeTextureAtlas.fire(atlas.pages[0].canvas); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
537281
2374