@meta2d/core 1.0.45 → 1.0.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meta2d/core",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -6719,7 +6719,9 @@ var Canvas = /** @class */ (function () {
6719
6719
  }
6720
6720
  };
6721
6721
  this.inputDiv.onblur = function () {
6722
- _this.hideInput();
6722
+ setTimeout(function () {
6723
+ _this.hideInput();
6724
+ }, 300);
6723
6725
  };
6724
6726
  this.inputDiv.oninput = function (e) {
6725
6727
  // //无文本时,光标确保居中
@@ -6882,7 +6884,7 @@ var Canvas = /** @class */ (function () {
6882
6884
  if (k === 'rotate') {
6883
6885
  oldRotate = pen.calculative.rotate || 0;
6884
6886
  }
6885
- else if (k === 'canvasLayer' || k === 'isBottom') {
6887
+ else if (k === 'canvasLayer' || k === 'isBottom' || k === 'showChild') {
6886
6888
  containIsBottom = true;
6887
6889
  }
6888
6890
  else if (k === 'image') {