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.
@@ -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
|
}
|