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.
- package/dist/index.mjs +1 -0
- 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;
|