redhotmagma-graphics-editor 1.44.1 → 1.44.3

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.
@@ -412,10 +412,11 @@ var AbstractCanvasObject = exports.AbstractCanvasObject = /*#__PURE__*/function
412
412
  var _this$getSize = this.getSize(),
413
413
  ow = _this$getSize.width,
414
414
  oh = _this$getSize.height;
415
- var scaling = this.scaling;
415
+ var scaling = this.scaling,
416
+ _scaleFactor = this._scaleFactor;
416
417
  return {
417
- width: ow * scaling,
418
- height: oh * scaling
418
+ width: ow * scaling * _scaleFactor,
419
+ height: oh * scaling * _scaleFactor
419
420
  };
420
421
  }
421
422
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redhotmagma-graphics-editor",
3
- "version": "1.44.1",
3
+ "version": "1.44.3",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "main": "./index.js",
@@ -360,10 +360,10 @@ export abstract class AbstractCanvasObject {
360
360
 
361
361
  getScaledSize() {
362
362
  const { width: ow, height: oh } = this.getSize();
363
- const { scaling } = this;
363
+ const { scaling, _scaleFactor } = this;
364
364
  return {
365
- width: ow * scaling,
366
- height: oh * scaling,
365
+ width: ow * scaling * _scaleFactor,
366
+ height: oh * scaling * _scaleFactor,
367
367
  };
368
368
  }
369
369