@leafer-draw/worker 1.6.5 → 1.6.7
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/worker.js
CHANGED
|
@@ -6236,7 +6236,7 @@ var LeaferUI = (function (exports) {
|
|
|
6236
6236
|
}
|
|
6237
6237
|
}
|
|
6238
6238
|
|
|
6239
|
-
const version = "1.6.
|
|
6239
|
+
const version = "1.6.7";
|
|
6240
6240
|
|
|
6241
6241
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
6242
6242
|
get allowBackgroundColor() { return true; }
|
|
@@ -7375,7 +7375,7 @@ var LeaferUI = (function (exports) {
|
|
|
7375
7375
|
__drawAfterFill(canvas, options) {
|
|
7376
7376
|
if (this.__.__clipAfterFill) {
|
|
7377
7377
|
canvas.save();
|
|
7378
|
-
canvas.clipUI();
|
|
7378
|
+
canvas.clipUI(this);
|
|
7379
7379
|
this.__drawContent(canvas, options);
|
|
7380
7380
|
canvas.restore();
|
|
7381
7381
|
}
|
|
@@ -8772,7 +8772,7 @@ var LeaferUI = (function (exports) {
|
|
|
8772
8772
|
const box = this.__box;
|
|
8773
8773
|
if (box)
|
|
8774
8774
|
box.__nowWorld = this.__nowWorld, box.__draw(canvas, options, originCanvas);
|
|
8775
|
-
if (this.textEditing && !
|
|
8775
|
+
if (this.textEditing && !options.exporting)
|
|
8776
8776
|
return;
|
|
8777
8777
|
super.__draw(canvas, options, originCanvas);
|
|
8778
8778
|
}
|