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

Bug 24468 - Изменяется курсор при выделении текста в автофигуре

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57180 954022d7-b5bf-4e40-9824-e11837661b57
parent bb3a1981
......@@ -484,7 +484,7 @@ function handleMouseUpPreMoveState(drawingObjects, e, x, y, pageIndex, bWord)
state.drawingObjects.selection.groupSelection = state.majorObject;
state.drawingObjects.OnMouseDown(e,x, y,pageIndex);
state.drawingObjects.OnMouseUp(e, x, y, pageIndex);
state.drawingObjects.drawingObjects && state.drawingObjects.drawingObjects.sendGraphicObjectProps();
state.drawingObjects.drawingObjects && state.drawingObjects.drawingObjects.sendGraphicObjectProps && state.drawingObjects.drawingObjects.sendGraphicObjectProps();
state.drawingObjects.document && state.drawingObjects.document.Document_UpdateInterfaceState();
break;
}
......
......@@ -908,7 +908,12 @@ function TextAddState(drawingObjects, majorObject)
TextAddState.prototype =
{
onMouseDown: function(e, x, y, pageIndex)
{},
{
if(this.drawingObjects.handleEventMode === HANDLE_EVENT_MODE_CURSOR)
{
return {objectId: this.majorObject.Id, cursorType: "text"};
}
},
onMouseMove: function(e, x, y, pageIndex)
{
if(!e.IsLocked)
......
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