@leafer-ui/miniapp 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/miniapp.module.js
CHANGED
|
@@ -1256,6 +1256,7 @@ const BoundsHelper = {
|
|
|
1256
1256
|
},
|
|
1257
1257
|
copyAndSpread(t, bounds, spread, isShrink, side) {
|
|
1258
1258
|
const {x: x, y: y, width: width, height: height} = bounds;
|
|
1259
|
+
if (!spread) spread = 0;
|
|
1259
1260
|
if (isArray(spread)) {
|
|
1260
1261
|
const four = fourNumber(spread);
|
|
1261
1262
|
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
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
6990
6991
|
get allowBackgroundColor() {
|