Commit cf6dc44e authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

неправильная позиция drawing после удаления всех, кроме одного элемента из группы.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64411 954022d7-b5bf-4e40-9824-e11837661b57
parent 1bf27d18
...@@ -2336,13 +2336,9 @@ CGraphicObjects.prototype = ...@@ -2336,13 +2336,9 @@ CGraphicObjects.prototype =
para_drawing.CheckWH(); para_drawing.CheckWH();
if(!para_drawing.Is_Inline()) if(!para_drawing.Is_Inline())
{ {
var new_x, new_y; new_x = sp.transform.tx;
var deltaX, deltaY; new_y = sp.transform.ty;
deltaX = 0;//sp.localTransform.tx - sp.bounds.x; para_drawing.Set_XY(sp.transform.tx, sp.transform.ty, para_drawing.Get_ParentParagraph(), para_drawing.GraphicObj.selectStartPage, true);
deltaY = 0;//sp.localTransform.ty - sp.bounds.y;
new_x = sp.transform.tx - deltaX;
new_y = sp.transform.ty - deltaY;
para_drawing.Set_XY(new_x, new_x, para_drawing.Get_ParentParagraph(), para_drawing.GraphicObj.selectStartPage, true);
} }
this.document.Recalculate(); this.document.Recalculate();
return; return;
......
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