canvas-editor-engine 1.0.21 → 1.0.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ const component_service_1 = require("../services/component.service");
|
|
4
4
|
const tool_service_1 = require("../services/tool.service");
|
5
5
|
const canvas_component_1 = require("./canvas.component");
|
6
6
|
const logger_service_1 = require("../services/logger.service");
|
7
|
+
const crop_service_1 = require("../services/crop.service");
|
7
8
|
class ExcretionsComponent extends component_service_1.default {
|
8
9
|
static get additionStyle() {
|
9
10
|
return ExcretionsComponent._additionStyle;
|
@@ -18,6 +19,7 @@ class ExcretionsComponent extends component_service_1.default {
|
|
18
19
|
if (!!excretion) {
|
19
20
|
if (!excretion.classList.contains('excretion_crop')) {
|
20
21
|
excretion.classList.add("excretion_crop");
|
22
|
+
crop_service_1.default.viewCropButton();
|
21
23
|
}
|
22
24
|
}
|
23
25
|
});
|
@@ -4,7 +4,6 @@ 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
|
-
CropService.viewCropButton();
|
8
7
|
console.log(CropService.options);
|
9
8
|
}
|
10
9
|
static viewCropButton() {
|