microboard-temp 0.5.142 → 0.5.143
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/cjs/browser.js +10 -2
- package/dist/cjs/index.js +10 -2
- package/dist/cjs/node.js +10 -2
- package/dist/esm/browser.js +10 -2
- package/dist/esm/index.js +10 -2
- package/dist/esm/node.js +10 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -39952,7 +39952,11 @@ class Sticker extends BaseItem {
|
|
|
39952
39952
|
if (op.method === "applyMatrix") {
|
|
39953
39953
|
if (op.matrix.scaleX !== 1 || op.matrix.scaleY !== 1) {
|
|
39954
39954
|
if (this.text.isAutosize()) {
|
|
39955
|
-
|
|
39955
|
+
if (op.matrix.scaleX !== op.matrix.scaleY) {
|
|
39956
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39957
|
+
} else {
|
|
39958
|
+
this.text.scaleAutoSizeScale(op.matrix.scaleX);
|
|
39959
|
+
}
|
|
39956
39960
|
this.text.recoordinate();
|
|
39957
39961
|
this.text.transformCanvas();
|
|
39958
39962
|
} else {
|
|
@@ -39963,7 +39967,11 @@ class Sticker extends BaseItem {
|
|
|
39963
39967
|
const transformOp = op.items[this.id];
|
|
39964
39968
|
if (transformOp.method === "applyMatrix" && (transformOp.matrix.scaleX !== 1 || transformOp.matrix.scaleY !== 1)) {
|
|
39965
39969
|
if (this.text.isAutosize()) {
|
|
39966
|
-
|
|
39970
|
+
if (transformOp.matrix.scaleX !== transformOp.matrix.scaleY) {
|
|
39971
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39972
|
+
} else {
|
|
39973
|
+
this.text.scaleAutoSizeScale(transformOp.matrix.scaleX);
|
|
39974
|
+
}
|
|
39967
39975
|
this.text.recoordinate();
|
|
39968
39976
|
this.text.transformCanvas();
|
|
39969
39977
|
} else {
|
package/dist/cjs/index.js
CHANGED
|
@@ -39952,7 +39952,11 @@ class Sticker extends BaseItem {
|
|
|
39952
39952
|
if (op.method === "applyMatrix") {
|
|
39953
39953
|
if (op.matrix.scaleX !== 1 || op.matrix.scaleY !== 1) {
|
|
39954
39954
|
if (this.text.isAutosize()) {
|
|
39955
|
-
|
|
39955
|
+
if (op.matrix.scaleX !== op.matrix.scaleY) {
|
|
39956
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39957
|
+
} else {
|
|
39958
|
+
this.text.scaleAutoSizeScale(op.matrix.scaleX);
|
|
39959
|
+
}
|
|
39956
39960
|
this.text.recoordinate();
|
|
39957
39961
|
this.text.transformCanvas();
|
|
39958
39962
|
} else {
|
|
@@ -39963,7 +39967,11 @@ class Sticker extends BaseItem {
|
|
|
39963
39967
|
const transformOp = op.items[this.id];
|
|
39964
39968
|
if (transformOp.method === "applyMatrix" && (transformOp.matrix.scaleX !== 1 || transformOp.matrix.scaleY !== 1)) {
|
|
39965
39969
|
if (this.text.isAutosize()) {
|
|
39966
|
-
|
|
39970
|
+
if (transformOp.matrix.scaleX !== transformOp.matrix.scaleY) {
|
|
39971
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39972
|
+
} else {
|
|
39973
|
+
this.text.scaleAutoSizeScale(transformOp.matrix.scaleX);
|
|
39974
|
+
}
|
|
39967
39975
|
this.text.recoordinate();
|
|
39968
39976
|
this.text.transformCanvas();
|
|
39969
39977
|
} else {
|
package/dist/cjs/node.js
CHANGED
|
@@ -42425,7 +42425,11 @@ class Sticker extends BaseItem {
|
|
|
42425
42425
|
if (op.method === "applyMatrix") {
|
|
42426
42426
|
if (op.matrix.scaleX !== 1 || op.matrix.scaleY !== 1) {
|
|
42427
42427
|
if (this.text.isAutosize()) {
|
|
42428
|
-
|
|
42428
|
+
if (op.matrix.scaleX !== op.matrix.scaleY) {
|
|
42429
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
42430
|
+
} else {
|
|
42431
|
+
this.text.scaleAutoSizeScale(op.matrix.scaleX);
|
|
42432
|
+
}
|
|
42429
42433
|
this.text.recoordinate();
|
|
42430
42434
|
this.text.transformCanvas();
|
|
42431
42435
|
} else {
|
|
@@ -42436,7 +42440,11 @@ class Sticker extends BaseItem {
|
|
|
42436
42440
|
const transformOp = op.items[this.id];
|
|
42437
42441
|
if (transformOp.method === "applyMatrix" && (transformOp.matrix.scaleX !== 1 || transformOp.matrix.scaleY !== 1)) {
|
|
42438
42442
|
if (this.text.isAutosize()) {
|
|
42439
|
-
|
|
42443
|
+
if (transformOp.matrix.scaleX !== transformOp.matrix.scaleY) {
|
|
42444
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
42445
|
+
} else {
|
|
42446
|
+
this.text.scaleAutoSizeScale(transformOp.matrix.scaleX);
|
|
42447
|
+
}
|
|
42440
42448
|
this.text.recoordinate();
|
|
42441
42449
|
this.text.transformCanvas();
|
|
42442
42450
|
} else {
|
package/dist/esm/browser.js
CHANGED
|
@@ -39795,7 +39795,11 @@ class Sticker extends BaseItem {
|
|
|
39795
39795
|
if (op.method === "applyMatrix") {
|
|
39796
39796
|
if (op.matrix.scaleX !== 1 || op.matrix.scaleY !== 1) {
|
|
39797
39797
|
if (this.text.isAutosize()) {
|
|
39798
|
-
|
|
39798
|
+
if (op.matrix.scaleX !== op.matrix.scaleY) {
|
|
39799
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39800
|
+
} else {
|
|
39801
|
+
this.text.scaleAutoSizeScale(op.matrix.scaleX);
|
|
39802
|
+
}
|
|
39799
39803
|
this.text.recoordinate();
|
|
39800
39804
|
this.text.transformCanvas();
|
|
39801
39805
|
} else {
|
|
@@ -39806,7 +39810,11 @@ class Sticker extends BaseItem {
|
|
|
39806
39810
|
const transformOp = op.items[this.id];
|
|
39807
39811
|
if (transformOp.method === "applyMatrix" && (transformOp.matrix.scaleX !== 1 || transformOp.matrix.scaleY !== 1)) {
|
|
39808
39812
|
if (this.text.isAutosize()) {
|
|
39809
|
-
|
|
39813
|
+
if (transformOp.matrix.scaleX !== transformOp.matrix.scaleY) {
|
|
39814
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39815
|
+
} else {
|
|
39816
|
+
this.text.scaleAutoSizeScale(transformOp.matrix.scaleX);
|
|
39817
|
+
}
|
|
39810
39818
|
this.text.recoordinate();
|
|
39811
39819
|
this.text.transformCanvas();
|
|
39812
39820
|
} else {
|
package/dist/esm/index.js
CHANGED
|
@@ -39788,7 +39788,11 @@ class Sticker extends BaseItem {
|
|
|
39788
39788
|
if (op.method === "applyMatrix") {
|
|
39789
39789
|
if (op.matrix.scaleX !== 1 || op.matrix.scaleY !== 1) {
|
|
39790
39790
|
if (this.text.isAutosize()) {
|
|
39791
|
-
|
|
39791
|
+
if (op.matrix.scaleX !== op.matrix.scaleY) {
|
|
39792
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39793
|
+
} else {
|
|
39794
|
+
this.text.scaleAutoSizeScale(op.matrix.scaleX);
|
|
39795
|
+
}
|
|
39792
39796
|
this.text.recoordinate();
|
|
39793
39797
|
this.text.transformCanvas();
|
|
39794
39798
|
} else {
|
|
@@ -39799,7 +39803,11 @@ class Sticker extends BaseItem {
|
|
|
39799
39803
|
const transformOp = op.items[this.id];
|
|
39800
39804
|
if (transformOp.method === "applyMatrix" && (transformOp.matrix.scaleX !== 1 || transformOp.matrix.scaleY !== 1)) {
|
|
39801
39805
|
if (this.text.isAutosize()) {
|
|
39802
|
-
|
|
39806
|
+
if (transformOp.matrix.scaleX !== transformOp.matrix.scaleY) {
|
|
39807
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
39808
|
+
} else {
|
|
39809
|
+
this.text.scaleAutoSizeScale(transformOp.matrix.scaleX);
|
|
39810
|
+
}
|
|
39803
39811
|
this.text.recoordinate();
|
|
39804
39812
|
this.text.transformCanvas();
|
|
39805
39813
|
} else {
|
package/dist/esm/node.js
CHANGED
|
@@ -42256,7 +42256,11 @@ class Sticker extends BaseItem {
|
|
|
42256
42256
|
if (op.method === "applyMatrix") {
|
|
42257
42257
|
if (op.matrix.scaleX !== 1 || op.matrix.scaleY !== 1) {
|
|
42258
42258
|
if (this.text.isAutosize()) {
|
|
42259
|
-
|
|
42259
|
+
if (op.matrix.scaleX !== op.matrix.scaleY) {
|
|
42260
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
42261
|
+
} else {
|
|
42262
|
+
this.text.scaleAutoSizeScale(op.matrix.scaleX);
|
|
42263
|
+
}
|
|
42260
42264
|
this.text.recoordinate();
|
|
42261
42265
|
this.text.transformCanvas();
|
|
42262
42266
|
} else {
|
|
@@ -42267,7 +42271,11 @@ class Sticker extends BaseItem {
|
|
|
42267
42271
|
const transformOp = op.items[this.id];
|
|
42268
42272
|
if (transformOp.method === "applyMatrix" && (transformOp.matrix.scaleX !== 1 || transformOp.matrix.scaleY !== 1)) {
|
|
42269
42273
|
if (this.text.isAutosize()) {
|
|
42270
|
-
|
|
42274
|
+
if (transformOp.matrix.scaleX !== transformOp.matrix.scaleY) {
|
|
42275
|
+
this.text.applyAutoSizeScale(this.text.calcAutoSize());
|
|
42276
|
+
} else {
|
|
42277
|
+
this.text.scaleAutoSizeScale(transformOp.matrix.scaleX);
|
|
42278
|
+
}
|
|
42271
42279
|
this.text.recoordinate();
|
|
42272
42280
|
this.text.transformCanvas();
|
|
42273
42281
|
} else {
|