Commit f75a79ad authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

minor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50915 954022d7-b5bf-4e40-9824-e11837661b57
parent 2952fe4a
...@@ -3151,6 +3151,13 @@ function DrawingObjects() { ...@@ -3151,6 +3151,13 @@ function DrawingObjects() {
var offsetX = worksheet.cols[worksheet.visibleRange.c1].left - worksheet.cellsLeft; var offsetX = worksheet.cols[worksheet.visibleRange.c1].left - worksheet.cellsLeft;
var offsetY = worksheet.rows[worksheet.visibleRange.r1].top - worksheet.cellsTop; var offsetY = worksheet.rows[worksheet.visibleRange.r1].top - worksheet.cellsTop;
while ( !worksheet.cols[r_.c2 + 1] ) {
worksheet.expandColsOnScroll(true);
}
while ( !worksheet.rows[r_.r2 + 1] ) {
worksheet.expandRowsOnScroll(true);
}
var x1 = worksheet.cols[r_.c1].left - offsetX; var x1 = worksheet.cols[r_.c1].left - offsetX;
var y1 = worksheet.rows[r_.r1].top - offsetY; var y1 = worksheet.rows[r_.r1].top - offsetY;
var x2 = worksheet.cols[r_.c2 + 1].left - offsetX; var x2 = worksheet.cols[r_.c2 + 1].left - offsetX;
......
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