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.js
CHANGED
|
@@ -1706,8 +1706,9 @@ var makeCellLayout = function makeCellLayout(freeze, indent, offset, columns, ro
|
|
|
1706
1706
|
if (relative < frozen) {
|
|
1707
1707
|
return lookupIndex(relative, anchor);
|
|
1708
1708
|
} else {
|
|
1709
|
-
var base = getStart(offset);
|
|
1710
|
-
|
|
1709
|
+
var base = getStart(offset + freeze);
|
|
1710
|
+
var adjust = getStart(freeze) - getStart(0);
|
|
1711
|
+
return lookupIndex(base + relative - adjust, anchor);
|
|
1711
1712
|
}
|
|
1712
1713
|
};
|
|
1713
1714
|
|