canvas-editor-engine 1.0.31 → 1.0.32

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