leafer-ui 2.1.9 → 2.1.10
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/web.js +2 -1
- package/dist/web.min.js +1 -1
- package/dist/web.min.js.map +1 -1
- package/dist/web.module.js +2 -1
- package/dist/web.module.min.js +1 -1
- package/dist/web.module.min.js.map +1 -1
- package/package.json +11 -11
package/dist/web.module.js
CHANGED
|
@@ -1295,6 +1295,7 @@ const BoundsHelper = {
|
|
|
1295
1295
|
},
|
|
1296
1296
|
copyAndSpread(t, bounds, spread, isShrink, side) {
|
|
1297
1297
|
const {x: x, y: y, width: width, height: height} = bounds;
|
|
1298
|
+
if (!spread) spread = 0;
|
|
1298
1299
|
if (isArray(spread)) {
|
|
1299
1300
|
const four = fourNumber(spread);
|
|
1300
1301
|
isShrink ? B.set(t, x + four[3], y + four[0], width - four[1] - four[3], height - four[2] - four[0]) : B.set(t, x - four[3], y - four[0], width + four[1] + four[3], height + four[2] + four[0]);
|
|
@@ -6984,7 +6985,7 @@ class LeafLevelList {
|
|
|
6984
6985
|
}
|
|
6985
6986
|
}
|
|
6986
6987
|
|
|
6987
|
-
const version = "2.1.
|
|
6988
|
+
const version = "2.1.10";
|
|
6988
6989
|
|
|
6989
6990
|
const debug$5 = Debug.get("LeaferCanvas");
|
|
6990
6991
|
|