canvas-editor-engine 1.0.34 → 1.0.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,8 @@ const excretions_component_1 = require("../components/excretions.component");
4
4
  class CropService {
5
5
  static crop() {
6
6
  excretions_component_1.default.additionStyle = 'crop';
7
+ if (!!excretions_component_1.default.excretionsCoords?.length === false)
8
+ return;
7
9
  console.log(CropService.options);
8
10
  }
9
11
  static viewCropButton() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",