@xterm/addon-webgl 0.20.0-beta.260 → 0.20.0-beta.261

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.260",
3
+ "version": "0.20.0-beta.261",
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": "ddf2b7d091e1efa80777764b4d4a40d4a472bb3b",
26
+ "commit": "6fd6003d6cce7d0e2552052c2550d0f5d0afcd0e",
27
27
  "peerDependencies": {
28
- "@xterm/xterm": "^6.1.0-beta.261"
28
+ "@xterm/xterm": "^6.1.0-beta.262"
29
29
  }
30
30
  }
@@ -221,8 +221,8 @@ function drawPathDefinitionCharacter(
221
221
  const rx = parseFloat(args[0]) * deviceCellWidth;
222
222
  const ry = parseFloat(args[1]) * deviceCellHeight;
223
223
  const xAxisRotation = parseFloat(args[2]) * Math.PI / 180;
224
- const largeArcFlag = parseInt(args[3]);
225
- const sweepFlag = parseInt(args[4]);
224
+ const largeArcFlag = parseInt(args[3], 10);
225
+ const sweepFlag = parseInt(args[4], 10);
226
226
  const x = xOffset + parseFloat(args[5]) * deviceCellWidth;
227
227
  const y = yOffset + parseFloat(args[6]) * deviceCellHeight;
228
228
  drawSvgArc(ctx, currentX, currentY, rx, ry, xAxisRotation, largeArcFlag, sweepFlag, x, y);