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.js
CHANGED
|
@@ -1223,6 +1223,7 @@ var LeaferUI = function(exports) {
|
|
|
1223
1223
|
},
|
|
1224
1224
|
copyAndSpread(t, bounds, spread, isShrink, side) {
|
|
1225
1225
|
const {x: x, y: y, width: width, height: height} = bounds;
|
|
1226
|
+
if (!spread) spread = 0;
|
|
1226
1227
|
if (isArray(spread)) {
|
|
1227
1228
|
const four = fourNumber(spread);
|
|
1228
1229
|
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]);
|
|
@@ -6568,7 +6569,7 @@ var LeaferUI = function(exports) {
|
|
|
6568
6569
|
this.levelMap = null;
|
|
6569
6570
|
}
|
|
6570
6571
|
}
|
|
6571
|
-
const version = "2.1.
|
|
6572
|
+
const version = "2.1.10";
|
|
6572
6573
|
const debug$5 = Debug.get("LeaferCanvas");
|
|
6573
6574
|
class LeaferCanvas extends LeaferCanvasBase {
|
|
6574
6575
|
set zIndex(zIndex) {
|