kritzel-stencil 0.0.136 → 0.0.137

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.
@@ -1827,6 +1827,7 @@ class KritzelRotationHandler extends KritzelBaseHandler {
1827
1827
  const centerY = this._core.store.state.selectionGroup.translateY + this._core.store.state.selectionGroup.height / 2 / this._core.store.state.scale;
1828
1828
  const cursorX = (clientX - this._core.store.state.translateX) / this._core.store.state.scale;
1829
1829
  const cursorY = (clientY - this._core.store.state.translateY) / this._core.store.state.scale;
1830
+ this.initialSelectionGroupRotation = this._core.store.state.selectionGroup.rotation;
1830
1831
  this.initialRotation = Math.atan2(centerY - cursorY, centerX - cursorX) - this._core.store.state.selectionGroup.rotation;
1831
1832
  this.unchangedObjects = this._core.store.state.selectionGroup.objects.map(obj => obj.clone());
1832
1833
  clearTimeout(this._core.store.state.longTouchTimeout);
@@ -2767,6 +2768,6 @@ exports.ObjectHelper = ObjectHelper;
2767
2768
  exports.RemoveObjectCommand = RemoveObjectCommand;
2768
2769
  exports.RemoveSelectionGroupCommand = RemoveSelectionGroupCommand;
2769
2770
  exports.UpdateObjectCommand = UpdateObjectCommand;
2770
- //# sourceMappingURL=index-CVu--fM6.js.map
2771
+ //# sourceMappingURL=index-CZcU_Jdl.js.map
2771
2772
 
2772
- //# sourceMappingURL=index-CVu--fM6.js.map
2773
+ //# sourceMappingURL=index-CZcU_Jdl.js.map