@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.
@@ -6233,7 +6233,7 @@ class LeafLevelList {
6233
6233
  }
6234
6234
  }
6235
6235
 
6236
- const version = "1.6.5";
6236
+ const version = "1.6.7";
6237
6237
 
6238
6238
  class LeaferCanvas extends LeaferCanvasBase {
6239
6239
  get allowBackgroundColor() { return true; }
@@ -7372,7 +7372,7 @@ const UIRender = {
7372
7372
  __drawAfterFill(canvas, options) {
7373
7373
  if (this.__.__clipAfterFill) {
7374
7374
  canvas.save();
7375
- canvas.clipUI();
7375
+ canvas.clipUI(this);
7376
7376
  this.__drawContent(canvas, options);
7377
7377
  canvas.restore();
7378
7378
  }
@@ -8769,7 +8769,7 @@ let Text = class Text extends UI {
8769
8769
  const box = this.__box;
8770
8770
  if (box)
8771
8771
  box.__nowWorld = this.__nowWorld, box.__draw(canvas, options, originCanvas);
8772
- if (this.textEditing && !Export.running)
8772
+ if (this.textEditing && !options.exporting)
8773
8773
  return;
8774
8774
  super.__draw(canvas, options, originCanvas);
8775
8775
  }