Commit 0320aaf0 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 31101 - Не меняется тип рамки Shape при нажатии мышкой на контрол поворота

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66945 954022d7-b5bf-4e40-9824-e11837661b57
parent 26d66c88
...@@ -460,11 +460,13 @@ DrawingObjectsController.prototype = ...@@ -460,11 +460,13 @@ DrawingObjectsController.prototype =
if(!isRealObject(group)) if(!isRealObject(group))
{ {
this.resetInternalSelection(); this.resetInternalSelection();
this.updateOverlay();
this.changeCurrentState(new PreRotateState(this, selectedObject)); this.changeCurrentState(new PreRotateState(this, selectedObject));
} }
else else
{ {
group.resetInternalSelection(); group.resetInternalSelection();
this.updateOverlay();
this.changeCurrentState(new PreRotateInGroupState(this, group, selectedObject)); this.changeCurrentState(new PreRotateInGroupState(this, group, selectedObject));
} }
} }
...@@ -482,11 +484,15 @@ DrawingObjectsController.prototype = ...@@ -482,11 +484,15 @@ DrawingObjectsController.prototype =
if(!isRealObject(group)) if(!isRealObject(group))
{ {
this.resetInternalSelection(); this.resetInternalSelection();
this.updateOverlay();
this.changeCurrentState(new PreResizeState(this, selectedObject, card_direction)); this.changeCurrentState(new PreResizeState(this, selectedObject, card_direction));
} }
else else
{ {
group.resetInternalSelection(); group.resetInternalSelection();
this.updateOverlay();
this.changeCurrentState(new PreResizeInGroupState(this, group, selectedObject, card_direction)); this.changeCurrentState(new PreResizeInGroupState(this, group, selectedObject, card_direction));
} }
} }
......
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