Commit fe43c8d5 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov
parent 7482e8ba
...@@ -10383,7 +10383,7 @@ ...@@ -10383,7 +10383,7 @@
var cFrozen = this.topLeftFrozenCell.getCol0(); var cFrozen = this.topLeftFrozenCell.getCol0();
var rFrozen = this.topLeftFrozenCell.getRow0(); var rFrozen = this.topLeftFrozenCell.getRow0();
if (0 < cFrozen) { if (0 < cFrozen) {
if (col > cFrozen) if (col >= cFrozen)
offsetX = tc[cFrozen].left - tc[0].left; offsetX = tc[cFrozen].left - tc[0].left;
else { else {
vr.c1 = 0; vr.c1 = 0;
...@@ -10391,7 +10391,7 @@ ...@@ -10391,7 +10391,7 @@
} }
} }
if (0 < rFrozen) { if (0 < rFrozen) {
if (row > rFrozen) if (row >= rFrozen)
offsetY = tr[rFrozen].top - tr[0].top; offsetY = tr[rFrozen].top - tr[0].top;
else { else {
vr.r1 = 0; vr.r1 = 0;
......
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