Commit ec224dab 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@48637 954022d7-b5bf-4e40-9824-e11837661b57
parent ec622b05
...@@ -2249,10 +2249,10 @@ function DrawingObjects() { ...@@ -2249,10 +2249,10 @@ function DrawingObjects() {
_this.raiseLayerDrawingObjects = function() { _this.raiseLayerDrawingObjects = function() {
for (var i = 0; i < _this.countDrawingObjects(); i++) { /*for (var i = 0; i < _this.countDrawingObjects(); i++) {
var obj = aObjects[i]; var obj = aObjects[i];
obj.graphicObject.draw(shapeOverlayCtx); obj.graphicObject.draw(shapeOverlayCtx, true);
} }*/
} }
_this.countDrawingObjects = function() { _this.countDrawingObjects = function() {
...@@ -3245,7 +3245,6 @@ function DrawingObjects() { ...@@ -3245,7 +3245,6 @@ function DrawingObjects() {
} }
_this.raiseLayerDrawingObjects(); _this.raiseLayerDrawingObjects();
//_this.controller.drawSelection(_this.drawingDocument);
_this.OnUpdateOverlay(); _this.OnUpdateOverlay();
} }
_this.drawWorksheetHeaders(); _this.drawWorksheetHeaders();
......
...@@ -1751,7 +1751,7 @@ CShape.prototype = ...@@ -1751,7 +1751,7 @@ CShape.prototype =
} }
}, },
draw: function(graphics) draw: function(graphics, bOverlay)
{ {
graphics.SetIntegerGrid(false); graphics.SetIntegerGrid(false);
graphics.transform3(this.transform, false); graphics.transform3(this.transform, false);
...@@ -1760,7 +1760,7 @@ CShape.prototype = ...@@ -1760,7 +1760,7 @@ CShape.prototype =
shape_drawer.draw(this.spPr.geometry); shape_drawer.draw(this.spPr.geometry);
graphics.reset(); graphics.reset();
graphics.SetIntegerGrid(true); graphics.SetIntegerGrid(true);
if(this.txBody) if ( this.txBody && !bOverlay )
{ {
graphics.SetIntegerGrid(false); graphics.SetIntegerGrid(false);
graphics.transform3(this.transformText); graphics.transform3(this.transformText);
......
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