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

правка бага 21381 - Задержки при перемещении автофигуры в группе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50780 954022d7-b5bf-4e40-9824-e11837661b57
parent 00030ed7
......@@ -9374,6 +9374,7 @@ function RotateInGroup(graphicObjects, group, majorObject)
{
tracks[i].track(angle, e.ShiftKey);
}
this.graphicObjects.drawingDocument.m_oWordControl.OnUpdateOverlay();
};
this.OnMouseUp = function(e, x, y, pageIndex)
......
......@@ -900,7 +900,7 @@ function MoveTrackInGroup(original)
var t = this.transform;
t.Reset();
var xfrm = this.original.spPr.xfrm;
global_MatrixTransformer.TranslateAppend(t, -xfrm.absExtX*0.5, -xfrm.absExtY*0.5);
global_MatrixTransformer.TranslateAppend(t, -xfrm.extX*0.5, -xfrm.extY*0.5);
if(xfrm.flipH == null ? false : xfrm.flipH)
{
global_MatrixTransformer.ScaleAppend(t, -1, 1);
......@@ -910,7 +910,7 @@ function MoveTrackInGroup(original)
global_MatrixTransformer.ScaleAppend(t, 1, -1);
}
global_MatrixTransformer.RotateRadAppend(t, xfrm.rot == null ? 0 : -xfrm.rot);
global_MatrixTransformer.TranslateAppend(t, this.x + xfrm.absExtX*0.5, this.y + xfrm.absExtY*0.5);
global_MatrixTransformer.TranslateAppend(t, this.x + xfrm.extX*0.5, this.y + xfrm.extY*0.5);
global_MatrixTransformer.MultiplyAppend(t, this.original.group.transform);
};
......
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