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

Bug 24917 - Некорректно устанавливается курсор после последнего символа в автофигуре

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56877 954022d7-b5bf-4e40-9824-e11837661b57
parent eb9ac016
......@@ -279,6 +279,7 @@ DrawingObjectsController.prototype.onMouseDown = function(e, x, y)
e.ShiftKey = e.shiftKey;
e.CtrlKey = e.metaKey || e.ctrlKey;
e.Button = e.button;
e.Type = g_mouse_event_type_down;
var ret = this.curState.onMouseDown(e, x, y, 0);
this.updateOverlay();
this.updateSelectionState();
......@@ -292,6 +293,7 @@ DrawingObjectsController.prototype.onMouseMove = function(e, x, y)
e.ShiftKey = e.shiftKey;
e.CtrlKey = e.metaKey || e.ctrlKey;
e.Button = e.button;
e.Type = g_mouse_event_type_move;
this.curState.onMouseMove(e, x, y, 0);
};
DrawingObjectsController.prototype.OnMouseMove = DrawingObjectsController.prototype.onMouseMove;
......@@ -302,6 +304,7 @@ DrawingObjectsController.prototype.onMouseUp = function(e, x, y)
e.ShiftKey = e.shiftKey;
e.CtrlKey = e.metaKey || e.ctrlKey;
e.Button = e.button;
e.Type = g_mouse_event_type_up;
this.curState.onMouseUp(e, x, y, 0);
};
DrawingObjectsController.prototype.OnMouseUp = DrawingObjectsController.prototype.onMouseUp;
......
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