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

Bug 25280 - Курсор остается наместе после изменения вертикального выравнивания...

Bug 25280 - Курсор остается наместе после изменения вертикального выравнивания в автофигуре Insert Text

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57183 954022d7-b5bf-4e40-9824-e11837661b57
parent f016836a
...@@ -384,6 +384,7 @@ CGraphicObjects.prototype = ...@@ -384,6 +384,7 @@ CGraphicObjects.prototype =
setProps: function(props) setProps: function(props)
{ {
var apply_props;
if(props.Group === 1) if(props.Group === 1)
{ {
this.groupSelectedObjects(); this.groupSelectedObjects();
...@@ -424,7 +425,6 @@ CGraphicObjects.prototype = ...@@ -424,7 +425,6 @@ CGraphicObjects.prototype =
{ {
this.selectedObjects[i].parent.Set_Props(props); this.selectedObjects[i].parent.Set_Props(props);
} }
var apply_props;
if(isRealNumber(props.Width) && isRealNumber(props.Height)) if(isRealNumber(props.Width) && isRealNumber(props.Height))
{ {
apply_props = props; apply_props = props;
...@@ -485,6 +485,7 @@ CGraphicObjects.prototype = ...@@ -485,6 +485,7 @@ CGraphicObjects.prototype =
} }
} }
this.document.Recalculate(); this.document.Recalculate();
apply_props && isRealNumber(apply_props.verticalTextAlign) && this.document.Document_UpdateSelectionState();
}, },
applyDrawingProps: DrawingObjectsController.prototype.applyDrawingProps, applyDrawingProps: DrawingObjectsController.prototype.applyDrawingProps,
......
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