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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60862 954022d7-b5bf-4e40-9824-e11837661b57
parent 16265568
......@@ -866,9 +866,8 @@ CGraphicObjects.prototype =
},
addShapeOnPage: function(sPreset, nPageIndex, dX, dY)
addShapeOnPage: function(sPreset, nPageIndex, dX, dY, dExtX, dExtY)
{
if ( docpostype_HdrFtr !== this.document.CurPos.Type || null !== this.document.HdrFtr.CurHdrFtr )
{
if (docpostype_HdrFtr !== this.document.CurPos.Type)
......@@ -892,6 +891,10 @@ CGraphicObjects.prototype =
this.changeCurrentState(new StartAddNewShape(this, sPreset));
this.OnMouseDown({}, dX, dY, nPageIndex);
if(isRealNumber(dExtX) && isRealNumber(dExtY))
{
this.OnMouseMove({IsLocked: true}, dX + dExtX, dY + dExtY, nPageIndex)
}
this.OnMouseUp({}, dX, dY, nPageIndex);
}
},
......
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