Commit a66ae6a8 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@50886 954022d7-b5bf-4e40-9824-e11837661b57
parent bbe3de18
......@@ -3151,10 +3151,10 @@ function DrawingObjects() {
var offsetX = worksheet.cols[worksheet.visibleRange.c1].left - worksheet.cellsLeft;
var offsetY = worksheet.rows[worksheet.visibleRange.r1].top - worksheet.cellsTop;
var x1 = worksheet.cols[r_.c1].left - offsetX + /*cell offset*/ + ( (worksheet.visibleRange.c1 < r_.c1) ? mmToPt(coords.from.colOff) : 0 );
var y1 = worksheet.rows[r_.r1].top - offsetY + /*cell offset*/ + ( (worksheet.visibleRange.r1 < r_.r1) ? mmToPt(coords.from.rowOff) : 0 );
var x2 = worksheet.cols[r_.c2].left - offsetX + /*cell offset*/ + ( (worksheet.visibleRange.c2 > r_.c2) ? mmToPt(coords.to.colOff) : 0 );
var y2 = worksheet.rows[r_.r2].top - offsetY + /*cell offset*/ + ( (worksheet.visibleRange.r2 > r_.r2) ? mmToPt(coords.to.rowOff) : 0 );
var x1 = worksheet.cols[r_.c1].left - offsetX;
var y1 = worksheet.rows[r_.r1].top - offsetY;
var x2 = worksheet.cols[r_.c2 + 1].left - offsetX;
var y2 = worksheet.rows[r_.r2 + 1].top - offsetY;
var w = x2 - x1;
var h = y2 - y1;
......
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