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

Поправил проблему с отрисовкой при scroll-е, когда переходим за 1000 по строке.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60459 954022d7-b5bf-4e40-9824-e11837661b57
parent b96874ff
......@@ -5246,13 +5246,20 @@
this._drawRowHeaders(/*drawingCtx*/ undefined);
if (dx < 0) {
// draw last column
var r1_ = dy > 0 ? vr.r1 : r2 + 1;
var r2_ = dy > 0 ? r1 - 1 : vr.r2;
var r_ = new asc_Range(vr.c1, r1_, vr.c2, r2_);
var r_;
var r1_ = r2 + 1;
var r2_ = vr.r2;
if (r2_ >= r1_) {
r_ = new asc_Range(vr.c2, r1_, vr.c2, r2_);
this._drawGrid(/*drawingCtx*/ undefined, r_);
this._drawCellsAndBorders(/*drawingCtx*/undefined, r_);
}
if (0 < rFrozen) {
r_ = new asc_Range(vr.c2, 0, vr.c2, rFrozen - 1);
offsetY = this.rows[0].top - this.cellsTop;
this._drawGrid(/*drawingCtx*/ undefined, r_, /*offsetXForDraw*/undefined, offsetY);
this._drawCellsAndBorders(/*drawingCtx*/undefined, r_, /*offsetXForDraw*/undefined, offsetY);
}
}
}
offsetX = this.cols[this.visibleRange.c1].left - this.cellsLeft - diffWidth;
......
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