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

test

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49756 954022d7-b5bf-4e40-9824-e11837661b57
parent 3d88e89b
...@@ -3137,7 +3137,7 @@ function DrawingObjects() { ...@@ -3137,7 +3137,7 @@ function DrawingObjects() {
var drawingObject = aObjects[i]; var drawingObject = aObjects[i];
// Объекты не пересекаются // Объекты не пересекаются
if ( (selection.c2 < drawingObject.from.col) || (selection.c1 > drawingObject.to.col) || (selection.r2 < drawingObject.from.row) || (selection.r1 > drawingObject.to.row) ) if ( (selection.c2 < drawingObject.from.col) || (selection.c1 > drawingObject.to.col) || (selection.r2 < drawingObject.from.row) || (selection.r1 > drawingObject.to.row) )
continue; continue;
else { else {
bRedraw = true; bRedraw = true;
...@@ -3146,13 +3146,19 @@ function DrawingObjects() { ...@@ -3146,13 +3146,19 @@ function DrawingObjects() {
} }
} }
if ( bRedraw ) { if ( bRedraw ) {
for ( var i = 0; i < aObjects.length; i++ ) { /*for ( var i = 0; i < aObjects.length; i++ ) {
var boundsChecker = _this.getBoundsChecker(aObjects[i]); var boundsChecker = _this.getBoundsChecker(aObjects[i]);
restoreSheetArea(boundsChecker); restoreSheetArea(boundsChecker);
} }
for ( var i = 0; i < aObjects.length; i++ ) { for ( var i = 0; i < aObjects.length; i++ ) {
aObjects[i].graphicObject.draw(shapeCtx); aObjects[i].graphicObject.draw(shapeCtx);
}*/
shapeOverlayCtx.ClearMode = true;
for ( var i = 0; i < aObjects.length; i++ ) {
aObjects[i].graphicObject.draw(shapeOverlayCtx);
} }
shapeOverlayCtx.ClearMode = false;
} }
if ( aObjects.length ) if ( aObjects.length )
......
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