Commit d6239ce4 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

fix отрисовка frozenPane

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54205 954022d7-b5bf-4e40-9824-e11837661b57
parent 2482711a
......@@ -3892,7 +3892,7 @@ function DrawingObjects() {
tmpRange = asc_Range(c1, r1, c2, r2);
_this._drawWorksheetLayer(tmpRange, offsetX, offsetY);
}
if (range.c1 < cFrozen) {
if (range.c1 < cFrozen && range.r2 > vr.r1) {
offsetX = worksheet.cols[0].left - worksheet.cellsLeft;
offsetY = undefined;
c1 = Math.max(0, range.c1);
......@@ -3902,7 +3902,7 @@ function DrawingObjects() {
tmpRange = asc_Range(c1, r1, c2, r2);
_this._drawWorksheetLayer(tmpRange, offsetX, offsetY);
}
if (0 < rFrozen) {
if (range.r1 < rFrozen && range.c2 > vr.c1) {
offsetX = undefined;
offsetY = worksheet.rows[0].top - worksheet.cellsTop;
c1 = Math.max(range.c1, vr.c1);
......@@ -3920,6 +3920,8 @@ function DrawingObjects() {
r2 = Math.min(range.r2, vr.r2);
tmpRange = asc_Range(c1, r1, c2, r2);
_this._drawWorksheetLayer(tmpRange);
worksheet._drawFrozenPaneLines();
};
//-----------------------------------------------------------------------------------
......
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