@leankylin-sheet/core 3.1.25 → 3.1.26
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/index.esm.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -59227,6 +59227,7 @@ function onCommentBoxMove(ctx, globalCache, e) {
|
|
|
59227
59227
|
left += e.pageX - startX;
|
|
59228
59228
|
top += e.pageY - startY;
|
|
59229
59229
|
if (top < 0) top = 0;
|
|
59230
|
+
if (left < 0) left = 0;
|
|
59230
59231
|
box.style.left = "".concat(left, "px");
|
|
59231
59232
|
box.style.top = "".concat(top, "px");
|
|
59232
59233
|
return true;
|
package/dist/index.js
CHANGED
|
@@ -59237,6 +59237,7 @@ function onCommentBoxMove(ctx, globalCache, e) {
|
|
|
59237
59237
|
left += e.pageX - startX;
|
|
59238
59238
|
top += e.pageY - startY;
|
|
59239
59239
|
if (top < 0) top = 0;
|
|
59240
|
+
if (left < 0) left = 0;
|
|
59240
59241
|
box.style.left = "".concat(left, "px");
|
|
59241
59242
|
box.style.top = "".concat(top, "px");
|
|
59242
59243
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.26",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build": "father-build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@leankylin-sheet/formula-parser": "^3.1.
|
|
16
|
+
"@leankylin-sheet/formula-parser": "^3.1.26",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|