Commit 0f7127d2 authored by Oleg.Korshul's avatar Oleg.Korshul

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60667 954022d7-b5bf-4e40-9824-e11837661b57
parent 633e2abb
......@@ -1378,7 +1378,7 @@ CDrawingDocument.prototype =
// 1 - select markers
// 2 - drawing track
check_MouseDownEvent(e, true);
check_MouseDownEvent(e, false);
var pos = null;
if (this.AutoShapesTrackLockPageNum == -1)
......@@ -1478,7 +1478,9 @@ CDrawingDocument.prototype =
}
global_mouseEvent.KoefPixToMM = 1;
return 2;
if (_isDrawings)
return 2;
}
return 0;
......
......@@ -33,19 +33,19 @@ asc_docs_api.prototype["Call_OnUpdateOverlay"] = function(param)
asc_docs_api.prototype["Call_OnMouseDown"] = function(e)
{
this.WordControl.m_oDrawingDocument.OnMouseDown(e);
return this.WordControl.m_oDrawingDocument.OnMouseDown(e);
};
asc_docs_api.prototype["Call_OnMouseUp"] = function(e)
{
this.WordControl.m_oDrawingDocument.OnMouseUp(e);
return this.WordControl.m_oDrawingDocument.OnMouseUp(e);
};
asc_docs_api.prototype["Call_OnMouseMove"] = function(e)
{
this.WordControl.m_oDrawingDocument.OnMouseMove(e);
return this.WordControl.m_oDrawingDocument.OnMouseMove(e);
};
asc_docs_api.prototype["Call_OnCheckMouseDown"] = function(e)
{
this.WordControl.m_oDrawingDocument.OnCheckMouseDown(e);
return this.WordControl.m_oDrawingDocument.OnCheckMouseDown(e);
};
asc_docs_api.prototype["Call_OnKeyDown"] = function(e)
......
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