leafer-draw 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/web.js CHANGED
@@ -6236,7 +6236,7 @@ var LeaferUI = (function (exports) {
6236
6236
  }
6237
6237
  }
6238
6238
 
6239
- const version = "1.6.5";
6239
+ const version = "1.6.7";
6240
6240
 
6241
6241
  const debug$4 = Debug.get('LeaferCanvas');
6242
6242
  class LeaferCanvas extends LeaferCanvasBase {
@@ -7556,7 +7556,7 @@ var LeaferUI = (function (exports) {
7556
7556
  __drawAfterFill(canvas, options) {
7557
7557
  if (this.__.__clipAfterFill) {
7558
7558
  canvas.save();
7559
- canvas.clipUI();
7559
+ canvas.clipUI(this);
7560
7560
  this.__drawContent(canvas, options);
7561
7561
  canvas.restore();
7562
7562
  }
@@ -8953,7 +8953,7 @@ var LeaferUI = (function (exports) {
8953
8953
  const box = this.__box;
8954
8954
  if (box)
8955
8955
  box.__nowWorld = this.__nowWorld, box.__draw(canvas, options, originCanvas);
8956
- if (this.textEditing && !Export.running)
8956
+ if (this.textEditing && !options.exporting)
8957
8957
  return;
8958
8958
  super.__draw(canvas, options, originCanvas);
8959
8959
  }