@leafer-draw/miniapp 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 false; }
@@ -7511,7 +7511,7 @@ const UIRender = {
7511
7511
  __drawAfterFill(canvas, options) {
7512
7512
  if (this.__.__clipAfterFill) {
7513
7513
  canvas.save();
7514
- canvas.clipUI();
7514
+ canvas.clipUI(this);
7515
7515
  this.__drawContent(canvas, options);
7516
7516
  canvas.restore();
7517
7517
  }
@@ -8908,7 +8908,7 @@ let Text = class Text extends UI {
8908
8908
  const box = this.__box;
8909
8909
  if (box)
8910
8910
  box.__nowWorld = this.__nowWorld, box.__draw(canvas, options, originCanvas);
8911
- if (this.textEditing && !Export.running)
8911
+ if (this.textEditing && !options.exporting)
8912
8912
  return;
8913
8913
  super.__draw(canvas, options, originCanvas);
8914
8914
  }