@xterm/addon-webgl 0.20.0-beta.290 → 0.20.0-beta.291

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xterm/addon-webgl",
3
- "version": "0.20.0-beta.290",
3
+ "version": "0.20.0-beta.291",
4
4
  "author": {
5
5
  "name": "The xterm.js authors",
6
6
  "url": "https://xtermjs.org/"
@@ -23,8 +23,8 @@
23
23
  "prepublishOnly": "npm run package",
24
24
  "start": "node ../../demo/start"
25
25
  },
26
- "commit": "699f5537b0232e444cb98261b8b3991c3cfecb5e",
26
+ "commit": "904ae935269eef5ec6a1415b64463c3d02eff1eb",
27
27
  "peerDependencies": {
28
- "@xterm/xterm": "^6.1.0-beta.291"
28
+ "@xterm/xterm": "^6.1.0-beta.292"
29
29
  }
30
30
  }
@@ -145,6 +145,11 @@ export class TextureAtlas implements ITextureAtlas {
145
145
  this._cacheMap.clear();
146
146
  this._cacheMapCombined.clear();
147
147
  this._didWarmUp = false;
148
+
149
+ // Invalidate renderer models so all texture pages are refreshed. The atlas may be shared, in
150
+ // which case the clearing renderer has cleared only its own model and every other owner still
151
+ // holds texture coords into the rows just wiped.
152
+ this._pageLayoutVersion++;
148
153
  }
149
154
 
150
155
  private _createNewPage(): AtlasPage {