@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 +1 -1
- package/src/canvas/canvas.js +4 -2
- package/src/canvas/canvas.js.map +1 -1
- package/src/core.d.ts +2 -1
- package/src/core.js +67 -15
- package/src/core.js.map +1 -1
- package/src/diagrams/video.js +3 -0
- package/src/diagrams/video.js.map +1 -1
- package/src/options.js +1 -0
- package/src/options.js.map +1 -1
- package/src/pen/text.js +3 -3
- package/src/pen/text.js.map +1 -1
package/package.json
CHANGED
package/src/canvas/canvas.js
CHANGED
|
@@ -6719,7 +6719,9 @@ var Canvas = /** @class */ (function () {
|
|
|
6719
6719
|
}
|
|
6720
6720
|
};
|
|
6721
6721
|
this.inputDiv.onblur = function () {
|
|
6722
|
-
|
|
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') {
|