graphico 1.1.1 → 1.1.2

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.
Files changed (2) hide show
  1. package/dist/canvas.js +1 -0
  2. package/package.json +1 -1
package/dist/canvas.js CHANGED
@@ -70,6 +70,7 @@ var Canvas = /** @class */ (function () {
70
70
  main.style.height = "".concat(this.config.height * this.config.scale, "px");
71
71
  main.style.border = "".concat(this.config.scale, "px solid ").concat(this.config.border);
72
72
  main.style.cursor = this.config.showMouse ? 'default' : 'none';
73
+ main.style.boxSizing = 'content-box';
73
74
  this.config.parent.appendChild(main);
74
75
  // Create main canvas graphics object
75
76
  var graphics = main.getContext('2d');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphico",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Canvas 2D rendering toolkit for games and visual projects",
5
5
  "homepage": "https://npm.nicfv.com/",
6
6
  "bin": "",