canvas-editor-engine 1.0.63 → 1.0.64

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.
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const config_1 = require("../config");
4
3
  const component_service_1 = require("../services/component.service");
5
4
  const event_service_1 = require("../services/event.service");
6
5
  const logger_service_1 = require("../services/logger.service");
@@ -14,8 +13,8 @@ class LoadingComponent extends component_service_1.default {
14
13
  justify-content: center;
15
14
  align-items: center;
16
15
  position: absolute;
17
- width: ${config_1.default.CANVAS_SIZE.width}px;
18
- height: ${config_1.default.CANVAS_SIZE.height}px;
16
+ width: 100%;
17
+ height: 100%;
19
18
  }
20
19
 
21
20
  .loader {
@@ -68,8 +67,8 @@ class LoadingComponent extends component_service_1.default {
68
67
  const loadingTemplate = LoadingComponent.getTemplate(LoadingComponent.template, wrapOptions);
69
68
  const loadingStyle = LoadingComponent.getStyle(LoadingComponent.css);
70
69
  LoadingComponent.loading = loadingTemplate;
71
- LoadingComponent.subscribeLoadingStart();
72
- LoadingComponent.subscribeLoadingEnd();
70
+ // LoadingComponent.subscribeLoadingStart();
71
+ // LoadingComponent.subscribeLoadingEnd();
73
72
  return { loadingTemplate, loadingStyle };
74
73
  }
75
74
  static hide() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",