@anu3ev/fabric-image-editor 0.1.36 → 0.1.37

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/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -2194,7 +2194,7 @@ class yt {
2194
2194
  historyManager: s
2195
2195
  } = this.editor, c = e || i.getActiveObject();
2196
2196
  if (c) {
2197
- if (["activeselection"].includes(c.type) && !r) {
2197
+ if (c.set("angle", 0), ["activeselection"].includes(c.type) && !r) {
2198
2198
  var u = c.getObjects();
2199
2199
  i.discardActiveObject(), u.forEach((h) => {
2200
2200
  var g = n.calculateScaleFactor({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anu3ev/fabric-image-editor",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "JavaScript image editor built on FabricJS, allowing you to create instances with an integrated montage area and providing an API to modify and manage state.",
5
5
  "module": "dist/main.js",
6
6
  "files": [