Commit a7bbe013 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@49632 954022d7-b5bf-4e40-9824-e11837661b57
parent dbccb909
...@@ -156,7 +156,8 @@ function NullState(drawingObjectsController, drawingObjects) ...@@ -156,7 +156,8 @@ function NullState(drawingObjectsController, drawingObjects)
} }
else if(hit_in_text_rect) else if(hit_in_text_rect)
{ {
cur_drawing.select(this.drawingObjectsController); this.drawingObjectsController.resetSelection();
cur_drawing.select(this.drawingObjectsController);
cur_drawing.selectionSetStart(e, x, y); cur_drawing.selectionSetStart(e, x, y);
this.drawingObjectsController.changeCurrentState(new TextAddState(this.drawingObjectsController, this.drawingObjects, cur_drawing)); this.drawingObjectsController.changeCurrentState(new TextAddState(this.drawingObjectsController, this.drawingObjects, cur_drawing));
if(e.ClickCount < 2) if(e.ClickCount < 2)
......
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