sheet-happens 0.0.29 → 0.0.30
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.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1703,8 +1703,9 @@ var makeCellLayout = function makeCellLayout(freeze, indent, offset, columns, ro
|
|
|
1703
1703
|
if (relative < frozen) {
|
|
1704
1704
|
return lookupIndex(relative, anchor);
|
|
1705
1705
|
} else {
|
|
1706
|
-
var base = getStart(offset);
|
|
1707
|
-
|
|
1706
|
+
var base = getStart(offset + freeze);
|
|
1707
|
+
var adjust = getStart(freeze) - getStart(0);
|
|
1708
|
+
return lookupIndex(base + relative - adjust, anchor);
|
|
1708
1709
|
}
|
|
1709
1710
|
};
|
|
1710
1711
|
|