microboard-temp 0.14.51 → 0.14.52
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 +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node.js +1 -1
- package/dist/esm/browser.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/node.js +1 -1
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -75757,10 +75757,10 @@ class Transformer extends Tool {
|
|
|
75757
75757
|
};
|
|
75758
75758
|
if (single) {
|
|
75759
75759
|
const result = single.handleTransform(params);
|
|
75760
|
-
this.mbr = result.resizedMbr || this.mbr;
|
|
75761
75760
|
if (result.translation) {
|
|
75762
75761
|
this.selection.moveMany(result.translation, this.beginTimeStamp);
|
|
75763
75762
|
}
|
|
75763
|
+
this.mbr = result.translation ? single.getMbr() : result.resizedMbr || this.mbr;
|
|
75764
75764
|
if (result.onPointerUpCb) {
|
|
75765
75765
|
this.onPointerUpCb = result.onPointerUpCb;
|
|
75766
75766
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -75757,10 +75757,10 @@ class Transformer extends Tool {
|
|
|
75757
75757
|
};
|
|
75758
75758
|
if (single) {
|
|
75759
75759
|
const result = single.handleTransform(params);
|
|
75760
|
-
this.mbr = result.resizedMbr || this.mbr;
|
|
75761
75760
|
if (result.translation) {
|
|
75762
75761
|
this.selection.moveMany(result.translation, this.beginTimeStamp);
|
|
75763
75762
|
}
|
|
75763
|
+
this.mbr = result.translation ? single.getMbr() : result.resizedMbr || this.mbr;
|
|
75764
75764
|
if (result.onPointerUpCb) {
|
|
75765
75765
|
this.onPointerUpCb = result.onPointerUpCb;
|
|
75766
75766
|
}
|
package/dist/cjs/node.js
CHANGED
|
@@ -78230,10 +78230,10 @@ class Transformer extends Tool {
|
|
|
78230
78230
|
};
|
|
78231
78231
|
if (single) {
|
|
78232
78232
|
const result = single.handleTransform(params);
|
|
78233
|
-
this.mbr = result.resizedMbr || this.mbr;
|
|
78234
78233
|
if (result.translation) {
|
|
78235
78234
|
this.selection.moveMany(result.translation, this.beginTimeStamp);
|
|
78236
78235
|
}
|
|
78236
|
+
this.mbr = result.translation ? single.getMbr() : result.resizedMbr || this.mbr;
|
|
78237
78237
|
if (result.onPointerUpCb) {
|
|
78238
78238
|
this.onPointerUpCb = result.onPointerUpCb;
|
|
78239
78239
|
}
|
package/dist/esm/browser.js
CHANGED
|
@@ -75530,10 +75530,10 @@ class Transformer extends Tool {
|
|
|
75530
75530
|
};
|
|
75531
75531
|
if (single) {
|
|
75532
75532
|
const result = single.handleTransform(params);
|
|
75533
|
-
this.mbr = result.resizedMbr || this.mbr;
|
|
75534
75533
|
if (result.translation) {
|
|
75535
75534
|
this.selection.moveMany(result.translation, this.beginTimeStamp);
|
|
75536
75535
|
}
|
|
75536
|
+
this.mbr = result.translation ? single.getMbr() : result.resizedMbr || this.mbr;
|
|
75537
75537
|
if (result.onPointerUpCb) {
|
|
75538
75538
|
this.onPointerUpCb = result.onPointerUpCb;
|
|
75539
75539
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -75523,10 +75523,10 @@ class Transformer extends Tool {
|
|
|
75523
75523
|
};
|
|
75524
75524
|
if (single) {
|
|
75525
75525
|
const result = single.handleTransform(params);
|
|
75526
|
-
this.mbr = result.resizedMbr || this.mbr;
|
|
75527
75526
|
if (result.translation) {
|
|
75528
75527
|
this.selection.moveMany(result.translation, this.beginTimeStamp);
|
|
75529
75528
|
}
|
|
75529
|
+
this.mbr = result.translation ? single.getMbr() : result.resizedMbr || this.mbr;
|
|
75530
75530
|
if (result.onPointerUpCb) {
|
|
75531
75531
|
this.onPointerUpCb = result.onPointerUpCb;
|
|
75532
75532
|
}
|
package/dist/esm/node.js
CHANGED
|
@@ -77991,10 +77991,10 @@ class Transformer extends Tool {
|
|
|
77991
77991
|
};
|
|
77992
77992
|
if (single) {
|
|
77993
77993
|
const result = single.handleTransform(params);
|
|
77994
|
-
this.mbr = result.resizedMbr || this.mbr;
|
|
77995
77994
|
if (result.translation) {
|
|
77996
77995
|
this.selection.moveMany(result.translation, this.beginTimeStamp);
|
|
77997
77996
|
}
|
|
77997
|
+
this.mbr = result.translation ? single.getMbr() : result.resizedMbr || this.mbr;
|
|
77998
77998
|
if (result.onPointerUpCb) {
|
|
77999
77999
|
this.onPointerUpCb = result.onPointerUpCb;
|
|
78000
78000
|
}
|