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

Bug 24181 - Перемещение одной автофигуры в другую происходит некорректно

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56137 954022d7-b5bf-4e40-9824-e11837661b57
parent d19ff8d5
......@@ -1331,6 +1331,11 @@ CGraphicObjects.prototype =
getNearestPos: function(x, y, pageIndex, drawing)
{
if(drawing && drawing.GraphicObj)
{
if(drawing.GraphicObj.getObjectType() !== historyitem_type_ImageShape && drawing.GraphicObj.getObjectType() !== historyitem_type_ChartSpace)
return null;
}
this.handleEventMode = HANDLE_EVENT_MODE_CURSOR;
var cursor_type = this.nullState.onMouseDown(global_mouseEvent, x, y, pageIndex);
this.handleEventMode = HANDLE_EVENT_MODE_HANDLE;
......
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