@leankylin-sheet/core 3.1.3 → 3.1.4
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -52940,8 +52940,8 @@ function updateContextWithCanvas(ctx, canvas, placeholder) {
|
|
|
52940
52940
|
ctx.cellmainWidth = canvas.clientWidth - ctx.rowHeaderWidth;
|
|
52941
52941
|
canvas.style.width = "".concat(ctx.luckysheetTableContentHW[0], "px");
|
|
52942
52942
|
canvas.style.height = "".concat(ctx.luckysheetTableContentHW[1], "px");
|
|
52943
|
-
canvas.width = Math.
|
|
52944
|
-
canvas.height = Math.
|
|
52943
|
+
canvas.width = Math.round(ctx.luckysheetTableContentHW[0] * ctx.devicePixelRatio);
|
|
52944
|
+
canvas.height = Math.round(ctx.luckysheetTableContentHW[1] * ctx.devicePixelRatio);
|
|
52945
52945
|
}
|
|
52946
52946
|
|
|
52947
52947
|
function getBorderInfoComputeRange(ctx, dataset_row_st, dataset_row_ed, dataset_col_st, dataset_col_ed, sheetId) {
|
package/dist/index.js
CHANGED
|
@@ -52950,8 +52950,8 @@ function updateContextWithCanvas(ctx, canvas, placeholder) {
|
|
|
52950
52950
|
ctx.cellmainWidth = canvas.clientWidth - ctx.rowHeaderWidth;
|
|
52951
52951
|
canvas.style.width = "".concat(ctx.luckysheetTableContentHW[0], "px");
|
|
52952
52952
|
canvas.style.height = "".concat(ctx.luckysheetTableContentHW[1], "px");
|
|
52953
|
-
canvas.width = Math.
|
|
52954
|
-
canvas.height = Math.
|
|
52953
|
+
canvas.width = Math.round(ctx.luckysheetTableContentHW[0] * ctx.devicePixelRatio);
|
|
52954
|
+
canvas.height = Math.round(ctx.luckysheetTableContentHW[1] * ctx.devicePixelRatio);
|
|
52955
52955
|
}
|
|
52956
52956
|
|
|
52957
52957
|
function getBorderInfoComputeRange(ctx, dataset_row_st, dataset_row_ed, dataset_col_st, dataset_col_ed, sheetId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leankylin-sheet/core",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
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.4",
|
|
17
17
|
"dayjs": "^1.11.0",
|
|
18
18
|
"immer": "^9.0.12",
|
|
19
19
|
"lodash": "^4.17.21",
|