canvas-editor-engine 1.0.33 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  export declare class ToolLayer {
2
- static multiplier: 1000;
2
+ static multiplier: number;
3
3
  static getLayerIndex(layerName: string): number;
4
4
  }
@@ -3,13 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ToolLayer = void 0;
4
4
  const config_1 = require("../config");
5
5
  class ToolLayer {
6
- static multiplier;
6
+ static multiplier = 1000;
7
7
  static getLayerIndex(layerName) {
8
- console.log('AppConfig.LAYERS', config_1.default.LAYERS);
9
8
  const layer = config_1.default.LAYERS.find((layer) => layer.name === layerName);
10
- console.log('layer', layer);
11
9
  const zIndex = ToolLayer.multiplier * layer.index;
12
- console.log(layerName, zIndex);
13
10
  return zIndex;
14
11
  }
15
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",