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

Bug 30022 - Не срабатывает контрол "изменить границы обтекания" для автофигуры небольшого размера

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64112 954022d7-b5bf-4e40-9824-e11837661b57
parent 81dc798e
......@@ -2501,6 +2501,7 @@ CGraphicObjects.prototype =
{
History.Create_NewPoint(historydescription_Document_GrObjectsChangeWrapPolygon);
this.selectedObjects[0].parent.Set_WrappingType(WRAPPING_TYPE_TIGHT);
this.selectedObjects[0].parent.Check_WrapPolygon();
this.document.Recalculate();
this.document.Document_UpdateInterfaceState();
}
......
......@@ -4775,10 +4775,7 @@ ParaDrawing.prototype =
{
History.Add( this, { Type : historyitem_Drawing_WrappingType, New : WrapType, Old : this.wrappingType } );
this.wrappingType = WrapType;
if(WrapType === WRAPPING_TYPE_TIGHT || WrapType === WRAPPING_TYPE_THROUGH)
{
this.Check_WrapPolygon();
}
},
Set_BehindDoc : function(BehindDoc)
......
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