microboard-temp 0.4.76 → 0.4.77
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 +3 -3
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/node.js +3 -3
- package/dist/esm/browser.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/node.js +3 -3
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -48034,11 +48034,11 @@ class Deck extends BaseItem {
|
|
|
48034
48034
|
}
|
|
48035
48035
|
updateMbr() {
|
|
48036
48036
|
const { translateX, translateY } = this.transformation.matrix;
|
|
48037
|
-
const
|
|
48037
|
+
const indexMbr = this.index.getMbr();
|
|
48038
48038
|
this.left = translateX;
|
|
48039
48039
|
this.top = translateY;
|
|
48040
|
-
this.right =
|
|
48041
|
-
this.bottom =
|
|
48040
|
+
this.right = translateX + indexMbr.getWidth();
|
|
48041
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
48042
48042
|
}
|
|
48043
48043
|
deserialize(data) {
|
|
48044
48044
|
super.deserialize(data);
|
package/dist/cjs/index.js
CHANGED
|
@@ -48034,11 +48034,11 @@ class Deck extends BaseItem {
|
|
|
48034
48034
|
}
|
|
48035
48035
|
updateMbr() {
|
|
48036
48036
|
const { translateX, translateY } = this.transformation.matrix;
|
|
48037
|
-
const
|
|
48037
|
+
const indexMbr = this.index.getMbr();
|
|
48038
48038
|
this.left = translateX;
|
|
48039
48039
|
this.top = translateY;
|
|
48040
|
-
this.right =
|
|
48041
|
-
this.bottom =
|
|
48040
|
+
this.right = translateX + indexMbr.getWidth();
|
|
48041
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
48042
48042
|
}
|
|
48043
48043
|
deserialize(data) {
|
|
48044
48044
|
super.deserialize(data);
|
package/dist/cjs/node.js
CHANGED
|
@@ -50507,11 +50507,11 @@ class Deck extends BaseItem {
|
|
|
50507
50507
|
}
|
|
50508
50508
|
updateMbr() {
|
|
50509
50509
|
const { translateX, translateY } = this.transformation.matrix;
|
|
50510
|
-
const
|
|
50510
|
+
const indexMbr = this.index.getMbr();
|
|
50511
50511
|
this.left = translateX;
|
|
50512
50512
|
this.top = translateY;
|
|
50513
|
-
this.right =
|
|
50514
|
-
this.bottom =
|
|
50513
|
+
this.right = translateX + indexMbr.getWidth();
|
|
50514
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
50515
50515
|
}
|
|
50516
50516
|
deserialize(data) {
|
|
50517
50517
|
super.deserialize(data);
|
package/dist/esm/browser.js
CHANGED
|
@@ -47883,11 +47883,11 @@ class Deck extends BaseItem {
|
|
|
47883
47883
|
}
|
|
47884
47884
|
updateMbr() {
|
|
47885
47885
|
const { translateX, translateY } = this.transformation.matrix;
|
|
47886
|
-
const
|
|
47886
|
+
const indexMbr = this.index.getMbr();
|
|
47887
47887
|
this.left = translateX;
|
|
47888
47888
|
this.top = translateY;
|
|
47889
|
-
this.right =
|
|
47890
|
-
this.bottom =
|
|
47889
|
+
this.right = translateX + indexMbr.getWidth();
|
|
47890
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
47891
47891
|
}
|
|
47892
47892
|
deserialize(data) {
|
|
47893
47893
|
super.deserialize(data);
|
package/dist/esm/index.js
CHANGED
|
@@ -47876,11 +47876,11 @@ class Deck extends BaseItem {
|
|
|
47876
47876
|
}
|
|
47877
47877
|
updateMbr() {
|
|
47878
47878
|
const { translateX, translateY } = this.transformation.matrix;
|
|
47879
|
-
const
|
|
47879
|
+
const indexMbr = this.index.getMbr();
|
|
47880
47880
|
this.left = translateX;
|
|
47881
47881
|
this.top = translateY;
|
|
47882
|
-
this.right =
|
|
47883
|
-
this.bottom =
|
|
47882
|
+
this.right = translateX + indexMbr.getWidth();
|
|
47883
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
47884
47884
|
}
|
|
47885
47885
|
deserialize(data) {
|
|
47886
47886
|
super.deserialize(data);
|
package/dist/esm/node.js
CHANGED
|
@@ -50344,11 +50344,11 @@ class Deck extends BaseItem {
|
|
|
50344
50344
|
}
|
|
50345
50345
|
updateMbr() {
|
|
50346
50346
|
const { translateX, translateY } = this.transformation.matrix;
|
|
50347
|
-
const
|
|
50347
|
+
const indexMbr = this.index.getMbr();
|
|
50348
50348
|
this.left = translateX;
|
|
50349
50349
|
this.top = translateY;
|
|
50350
|
-
this.right =
|
|
50351
|
-
this.bottom =
|
|
50350
|
+
this.right = translateX + indexMbr.getWidth();
|
|
50351
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
50352
50352
|
}
|
|
50353
50353
|
deserialize(data) {
|
|
50354
50354
|
super.deserialize(data);
|