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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50349 954022d7-b5bf-4e40-9824-e11837661b57
parent 15e024fb
......@@ -2349,11 +2349,13 @@ function DrawingObjects() {
}
this.getX = function() {
return this.rawX + worksheet.getCellLeft(0, 0);
//return this.rawX + worksheet.getCellLeft(0, 0);
return -ptToPx((worksheet.cols[worksheet.visibleRange.c1].left - worksheet.cellsLeft)) + worksheet.getCellLeft(0, 0);
}
this.getY = function() {
return this.rawY + worksheet.getCellTop(0, 0);
//return this.rawY + worksheet.getCellTop(0, 0);
return -ptToPx((worksheet.rows[worksheet.visibleRange.r1].top - worksheet.cellsTop)) + worksheet.getCellTop(0, 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