Commit 46928c1c authored by Alexander Trofimov's avatar Alexander Trofimov Committed by SergeyLuzyanin

Revert "set min limit of sector size (#141)" (#142)

This reverts commit fc4bbbd8.
parent 44b028dc
......@@ -4075,7 +4075,7 @@
WorksheetView.prototype._cleanCellsTextMetricsCache = function () {
var s = this.cache.sectors = [];
var vr = this.visibleRange;
var h = Math.max(Math.min(40, this.rows.length), vr.r2 + 1 - vr.r1);
var h = vr.r2 + 1 - vr.r1;
var rl = this.rows.length;
var rc = asc_floor(rl / h) + (rl % h > 0 ? 1 : 0);
var range = new asc_Range(0, 0, this.cols.length - 1, h - 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment