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

правка бага 22270 - Ошибка в консоли при выделении автофигуры и нажатии клавиши "пробел"

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52422 954022d7-b5bf-4e40-9824-e11837661b57
parent e3ff74cb
...@@ -5543,8 +5543,8 @@ function DefaultKeyDownHandle(drawingObjectsController, e) ...@@ -5543,8 +5543,8 @@ function DefaultKeyDownHandle(drawingObjectsController, e)
History.Create_NewPoint(); History.Create_NewPoint();
drawingObjectsController.resetSelectionState2(); drawingObjectsController.resetSelectionState2();
drawingObjectsController.setSelectionState(selection_state); drawingObjectsController.setSelectionState(selection_state);
drawingObjectsController.selectedObjects[0].paragraphAdd(new ParaSpace(1));
drawingObjectsController.changeCurrentState(new TextAddState(drawingObjectsController, drawingObjectsController.drawingObjects, drawingObjectsController.selectedObjects[0])); drawingObjectsController.changeCurrentState(new TextAddState(drawingObjectsController, drawingObjectsController.drawingObjects, drawingObjectsController.selectedObjects[0]));
drawingObjectsController.curState.textObject.paragraphAdd(new ParaSpace(1));
drawingObjectsController.drawingObjects.showDrawingObjects(true); drawingObjectsController.drawingObjects.showDrawingObjects(true);
drawingObjectsController.updateSelectionState(drawingObjectsController.drawingObjects.drawingDocument); drawingObjectsController.updateSelectionState(drawingObjectsController.drawingObjects.drawingDocument);
//drawingObjectsController.drawingObjects.OnUpdateOverlay(); //drawingObjectsController.drawingObjects.OnUpdateOverlay();
......
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