@leafer-ui/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; }
@@ -7529,7 +7529,7 @@ const UIRender = {
7529
7529
  __drawAfterFill(canvas, options) {
7530
7530
  if (this.__.__clipAfterFill) {
7531
7531
  canvas.save();
7532
- canvas.clipUI();
7532
+ canvas.clipUI(this);
7533
7533
  this.__drawContent(canvas, options);
7534
7534
  canvas.restore();
7535
7535
  }
@@ -8926,7 +8926,7 @@ let Text = class Text extends UI {
8926
8926
  const box = this.__box;
8927
8927
  if (box)
8928
8928
  box.__nowWorld = this.__nowWorld, box.__draw(canvas, options, originCanvas);
8929
- if (this.textEditing && !Export.running)
8929
+ if (this.textEditing && !options.exporting)
8930
8930
  return;
8931
8931
  super.__draw(canvas, options, originCanvas);
8932
8932
  }