canvas-editor-engine 2.1.26 → 2.1.27

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -194,6 +194,7 @@ var CanvasComponent = function(_super) {
194
194
  CanvasComponent.prototype.getComponent = function() {
195
195
  var canvasTemplate = this.getTemplate(this.template);
196
196
  var canvasStyle = this.getStyle(this.css);
197
+ canvasTemplate.style.display = "flex";
197
198
  this.canvas = canvasTemplate.getElementsByTagName("canvas")[0];
198
199
  this.canvas.width = this.appConfig.CANVAS_SIZE.width;
199
200
  this.canvas.height = this.appConfig.CANVAS_SIZE.height;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-editor-engine",
3
- "version": "2.1.26",
3
+ "version": "2.1.27",
4
4
  "description": "CanvasEditorEngine library, use: [typescript] [canvas]",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",