Commit 6cd751f7 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent 0a4b67a0
...@@ -356198,7 +356198,7 @@ function CDrawingDocument() ...@@ -356198,7 +356198,7 @@ function CDrawingDocument()
this.TargetShowNeedFlag = false; this.TargetShowNeedFlag = false;
this.m_bIsSelection = false; this.m_bIsSelection = false;
this.m_bIsMouseLock = false; this.m_bIsMouseLockDocument = false;
this.IsKeyDownButNoPress = false; this.IsKeyDownButNoPress = false;
this.bIsUseKeyPress = false; this.bIsUseKeyPress = false;
...@@ -357036,23 +357036,23 @@ CDrawingDocument.prototype = ...@@ -357036,23 +357036,23 @@ CDrawingDocument.prototype =
LogicDocumentOnMouseDown : function(e, x, y, page) LogicDocumentOnMouseDown : function(e, x, y, page)
{ {
if (this.m_bIsMouseLock) if (this.m_bIsMouseLockDocument)
{ {
this.LogicDocument.OnMouseUp(e, x, y, page); this.LogicDocument.OnMouseUp(e, x, y, page);
this.m_bIsMouseLock = false; this.m_bIsMouseLockDocument = false;
} }
this.LogicDocument.OnMouseDown(e, x, y, page); this.LogicDocument.OnMouseDown(e, x, y, page);
this.m_bIsMouseLock = true; this.m_bIsMouseLockDocument = true;
}, },
LogicDocumentOnMouseUp : function(e, x, y, page) LogicDocumentOnMouseUp : function(e, x, y, page)
{ {
if (!this.m_bIsMouseLock) if (!this.m_bIsMouseLockDocument)
{ {
this.LogicDocument.OnMouseDown(e, x, y, page); this.LogicDocument.OnMouseDown(e, x, y, page);
this.m_bIsMouseLock = true; this.m_bIsMouseLockDocument = true;
} }
this.LogicDocument.OnMouseUp(e, x, y, page); this.LogicDocument.OnMouseUp(e, x, y, page);
this.m_bIsMouseLock = false; this.m_bIsMouseLockDocument = false;
}, },
OnCheckMouseDown : function(e) OnCheckMouseDown : function(e)
...@@ -357260,7 +357260,7 @@ CDrawingDocument.prototype = ...@@ -357260,7 +357260,7 @@ CDrawingDocument.prototype =
return; return;
this.Native["DD_NeedScrollToTargetFlag"](true); this.Native["DD_NeedScrollToTargetFlag"](true);
this.LogicDocumentOnMouseDown.OnMouseDown(global_mouseEvent, pos.X, pos.Y, pos.Page); this.LogicDocumentOnMouseDown(global_mouseEvent, pos.X, pos.Y, pos.Page);
this.Native["DD_NeedScrollToTargetFlag"](false); this.Native["DD_NeedScrollToTargetFlag"](false);
} }
...@@ -363406,7 +363406,7 @@ function asc_menu_WriteParaFrame(_type, _frame, _stream) ...@@ -363406,7 +363406,7 @@ function asc_menu_WriteParaFrame(_type, _frame, _stream)
asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params) asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params)
{ {
if (this.m_oWordControl.m_oDrawingDocument.m_bIsMouseLock) if (this.WordControl.m_oDrawingDocument.m_bIsMouseLockDocument)
{ {
// не делаем ничего. Как в веб версии отрубаем клавиатуру // не делаем ничего. Как в веб версии отрубаем клавиатуру
return undefined; return undefined;
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