@lvce-editor/editor-worker 19.55.4 → 19.55.5
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/editorWorkerMain.js +2 -1
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -6214,10 +6214,11 @@ const x = (editor, rowIndex, columnIndex) => {
|
|
|
6214
6214
|
};
|
|
6215
6215
|
const y = (editor, rowIndex) => {
|
|
6216
6216
|
const {
|
|
6217
|
+
deltaY = 0,
|
|
6217
6218
|
rowHeight,
|
|
6218
6219
|
y
|
|
6219
6220
|
} = editor;
|
|
6220
|
-
const offsetY = (rowIndex + 1) * rowHeight + y;
|
|
6221
|
+
const offsetY = (rowIndex + 1) * rowHeight + y - deltaY;
|
|
6221
6222
|
return offsetY;
|
|
6222
6223
|
};
|
|
6223
6224
|
|