@fileverse-dev/fortune-core 1.0.2-mod-15 → 1.0.2-mod-17
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 +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -60690,7 +60690,8 @@ function updateCell(ctx, r, c, $input, value, canvas) {
|
|
|
60690
60690
|
if (textInfo) {
|
|
60691
60691
|
currentRowLen = textInfo.textHeightAll + 2;
|
|
60692
60692
|
}
|
|
60693
|
-
|
|
60693
|
+
var previousRowHeight = getRowHeight(ctx, [r])[r];
|
|
60694
|
+
if (currentRowLen > defaultrowlen && !((_cfg$customHeight = cfg.customHeight) === null || _cfg$customHeight === void 0 ? void 0 : _cfg$customHeight[r]) && previousRowHeight < currentRowLen) {
|
|
60694
60695
|
if (_.isNil(cfg.rowlen)) cfg.rowlen = {};
|
|
60695
60696
|
cfg.rowlen[r] = currentRowLen;
|
|
60696
60697
|
}
|
|
@@ -77641,7 +77642,6 @@ function handleOverlayMouseMove(ctx, globalCache, e, cellInput, scrollX, scrollY
|
|
|
77641
77642
|
if (onImageMove(ctx, globalCache, e)) return;
|
|
77642
77643
|
if (onImageResize(ctx, globalCache, e)) return;
|
|
77643
77644
|
onCellsMove(ctx, globalCache, e, scrollX, scrollY, container);
|
|
77644
|
-
var inputBoxContainer = document.getElementsByClassName("luckysheet-input-box")[0];
|
|
77645
77645
|
overShowComment(ctx, e, scrollX, scrollY, container);
|
|
77646
77646
|
onSearchDialogMove(globalCache, e);
|
|
77647
77647
|
onRangeSelectionModalMove(globalCache, e);
|
package/dist/index.js
CHANGED
|
@@ -60700,7 +60700,8 @@ function updateCell(ctx, r, c, $input, value, canvas) {
|
|
|
60700
60700
|
if (textInfo) {
|
|
60701
60701
|
currentRowLen = textInfo.textHeightAll + 2;
|
|
60702
60702
|
}
|
|
60703
|
-
|
|
60703
|
+
var previousRowHeight = getRowHeight(ctx, [r])[r];
|
|
60704
|
+
if (currentRowLen > defaultrowlen && !((_cfg$customHeight = cfg.customHeight) === null || _cfg$customHeight === void 0 ? void 0 : _cfg$customHeight[r]) && previousRowHeight < currentRowLen) {
|
|
60704
60705
|
if (___default['default'].isNil(cfg.rowlen)) cfg.rowlen = {};
|
|
60705
60706
|
cfg.rowlen[r] = currentRowLen;
|
|
60706
60707
|
}
|
|
@@ -77651,7 +77652,6 @@ function handleOverlayMouseMove(ctx, globalCache, e, cellInput, scrollX, scrollY
|
|
|
77651
77652
|
if (onImageMove(ctx, globalCache, e)) return;
|
|
77652
77653
|
if (onImageResize(ctx, globalCache, e)) return;
|
|
77653
77654
|
onCellsMove(ctx, globalCache, e, scrollX, scrollY, container);
|
|
77654
|
-
var inputBoxContainer = document.getElementsByClassName("luckysheet-input-box")[0];
|
|
77655
77655
|
overShowComment(ctx, e, scrollX, scrollY, container);
|
|
77656
77656
|
onSearchDialogMove(globalCache, e);
|
|
77657
77657
|
onRangeSelectionModalMove(globalCache, e);
|