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 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
- return lookupIndex(base + relative, anchor);
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