hellfire 0.30.12 → 0.30.13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.30.13](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.12...v0.30.13) (2025-09-01)
6
+
7
+
8
+
5
9
  ## [0.30.12](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.11...v0.30.12) (2025-08-27)
6
10
 
7
11
 
package/dist/index.js CHANGED
@@ -29349,8 +29349,22 @@ var ShutterShapeTool = /*#__PURE__*/function (_BaseTool) {
29349
29349
  color: '#000',
29350
29350
  fillStyle: '#000'
29351
29351
  }, function (context) {
29352
- context.rect(0, 0, context.canvas.clientWidth * devicePixelRatio, context.canvas.clientHeight * devicePixelRatio);
29353
- context.rect(left + width, top, -width, height);
29352
+ var _width = canvas.width || context.canvas.clientWidth;
29353
+
29354
+ var _height = canvas.height || context.canvas.clientHeight;
29355
+
29356
+ context.beginPath();
29357
+ context.moveTo(0, 0);
29358
+ context.lineTo(_width * devicePixelRatio, 0);
29359
+ context.lineTo(_width * devicePixelRatio, _height * devicePixelRatio);
29360
+ context.lineTo(0, _height * devicePixelRatio);
29361
+ context.closePath();
29362
+ context.moveTo(left + width, top);
29363
+ context.lineTo(left, top);
29364
+ context.lineTo(left, top + height);
29365
+ context.lineTo(left + width, top + height);
29366
+ context.closePath();
29367
+ context.fill();
29354
29368
  });
29355
29369
  return _context.abrupt("return");
29356
29370