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.
@@ -1825,6 +1825,7 @@ class KritzelRotationHandler extends KritzelBaseHandler {
1825
1825
  const centerY = this._core.store.state.selectionGroup.translateY + this._core.store.state.selectionGroup.height / 2 / this._core.store.state.scale;
1826
1826
  const cursorX = (clientX - this._core.store.state.translateX) / this._core.store.state.scale;
1827
1827
  const cursorY = (clientY - this._core.store.state.translateY) / this._core.store.state.scale;
1828
+ this.initialSelectionGroupRotation = this._core.store.state.selectionGroup.rotation;
1828
1829
  this.initialRotation = Math.atan2(centerY - cursorY, centerX - cursorX) - this._core.store.state.selectionGroup.rotation;
1829
1830
  this.unchangedObjects = this._core.store.state.selectionGroup.objects.map(obj => obj.clone());
1830
1831
  clearTimeout(this._core.store.state.longTouchTimeout);
@@ -2739,6 +2740,6 @@ class KritzelImageTool extends KritzelBaseTool {
2739
2740
  }
2740
2741
 
2741
2742
  export { AddSelectionGroupCommand as A, BatchCommand as B, DEFAULT_BRUSH_CONFIG as D, KritzelBrushTool as K, ObjectHelper as O, RemoveSelectionGroupCommand as R, UpdateObjectCommand as U, KritzelTextTool as a, KritzelMouseButton as b, KritzelSelectionTool as c, KritzelEraserTool as d, DEFAULT_TEXT_CONFIG as e, KritzelImageTool as f, KritzelWorkspace as g, KritzelKeyboardHelper as h, KritzelEventHelper as i, KritzelBaseHandler as j, KritzelToolRegistry as k, KritzelSelectionGroup as l, KritzelBaseCommand as m, KrtizelSelectionBox as n, KritzelReviver as o, RemoveObjectCommand as p, AddObjectCommand as q, KritzelBaseTool as r, KritzelText as s, KritzelPath as t, KritzelImage as u };
2742
- //# sourceMappingURL=index-445xFXAf.js.map
2743
+ //# sourceMappingURL=index-CeerFGiM.js.map
2743
2744
 
2744
- //# sourceMappingURL=index-445xFXAf.js.map
2745
+ //# sourceMappingURL=index-CeerFGiM.js.map