canvas-editor-engine 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|
});
|
|
@@ -222,6 +224,7 @@ ExcretionsComponent.css = `
|
|
|
222
224
|
|
|
223
225
|
.crop-button--view {
|
|
224
226
|
display: flex;
|
|
227
|
+
z-index: 1001;
|
|
225
228
|
}
|
|
226
229
|
|
|
227
230
|
@keyframes border-dance {
|
|
@@ -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() {
|