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

intersection для очистки области шейпа

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50283 954022d7-b5bf-4e40-9824-e11837661b57
parent 979fb61a
......@@ -3145,7 +3145,9 @@ function DrawingObjects() {
//overlayCtx.clearRect( pxToPt(coords.x + scrollOffset.getX()), pxToPt(coords.y + scrollOffset.getY()), pxToPt(coords.w), pxToPt(coords.h) );
//drawingCtx.clearRect( pxToPt(coords.x + scrollOffset.getX()) , pxToPt(coords.y + scrollOffset.getY()), pxToPt(coords.w), pxToPt(coords.h) );
var r_ = asc_Range( coords.c1, coords.r1, coords.c2, coords.r2 );
var range = asc_Range( coords.c1, coords.r1, coords.c2, coords.r2 );
var r_ = range.intersection(worksheet.visibleRange);
worksheet._drawGrid( drawingCtx, r_);
worksheet._drawCells(r_);
worksheet._drawCellsBorders(undefined, r_);
......
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