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

Bug 25886 - При удалении\вырезании фигуры из группы сдвигается часть группы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57701 954022d7-b5bf-4e40-9824-e11837661b57
parent be2c3047
......@@ -2102,8 +2102,12 @@ CGraphicObjects.prototype =
else
{
var new_x, new_y;
new_x = cur_group.x + sp.bounds.x;
new_y = cur_group.y + sp.bounds.y;
var deltaX, deltaY;
deltaX = sp.localTransform.tx - sp.bounds.x;
deltaY = sp.localTransform.ty - sp.bounds.y;
new_x = sp.transform.tx - deltaX;
new_y = sp.transform.ty - deltaY;
sp.recalcBounds();
var nearest_pos = this.document.Get_NearestPos(cur_group.selectStartPage, new_x, new_y, true, para_drawing);
nearest_pos.Paragraph.Check_NearestPos(nearest_pos);
......
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