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;
|