@xterm/addon-webgl 0.20.0-beta.269 → 0.20.0-beta.270

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.269",
3
+ "version": "0.20.0-beta.270",
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": "21c99d05748513674de7bdea5eea465450822c11",
26
+ "commit": "1f054097f3968e38db34ba0ba03906c79108c9fd",
27
27
  "peerDependencies": {
28
- "@xterm/xterm": "^6.1.0-beta.270"
28
+ "@xterm/xterm": "^6.1.0-beta.271"
29
29
  }
30
30
  }
@@ -191,7 +191,7 @@ export class TextureAtlas implements ITextureAtlas {
191
191
  return newPage;
192
192
  }
193
193
 
194
- const sortedMergingPagesIndexes = mergingPages.map(e => e.glyphs[0].texturePage).sort((a, b) => a > b ? 1 : -1);
194
+ const sortedMergingPagesIndexes = mergingPages.map(e => e.glyphs[0].texturePage).sort((a, b) => a - b);
195
195
  const mergedPageIndex = this.pages.length - mergingPages.length;
196
196
 
197
197
  // Merge into the new page