Commit 2d880560 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@56625 954022d7-b5bf-4e40-9824-e11837661b57
parent d838fda2
......@@ -146,9 +146,9 @@ CGroupShape.prototype.handleUpdatePosition = function()
this.addToRecalculate();
for(var i = 0; i < this.spTree.length; ++i)
{
if(this.spTree[i].recalcTransform)
if(this.spTree[i].handleUpdatePosition)
{
this.spTree[i].recalcTransform();
this.spTree[i].handleUpdatePosition();
}
}
this.addToRecalculate();
......
......@@ -606,7 +606,7 @@
ws.objectRender.controller.updateSelectionState();
// Селектим после выставления состояния
if (state && state.selectedObjects && 0 < state.selectedObjects.length)
if (0 < ws.objectRender.controller.selectedObjects.length)
ws.setSelectionShape(true);
};
......
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