Commit 79533067 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

не отпускалась мышка иногда

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55966 954022d7-b5bf-4e40-9824-e11837661b57
parent 74e7cfda
......@@ -1675,6 +1675,12 @@ function CEditorPage(api)
(oThis.TextBoxBackground && oThis.TextBoxBackground.HtmlElement != global_mouseEvent.Sender))
return;
if (-1 != oWordControl.m_oTimerScrollSelect)
{
clearInterval(oWordControl.m_oTimerScrollSelect);
oWordControl.m_oTimerScrollSelect = -1;
}
check_MouseUpEvent(e);
var pos = null;
if (oWordControl.m_oDrawingDocument.AutoShapesTrackLockPageNum == -1)
......@@ -1699,12 +1705,6 @@ function CEditorPage(api)
if (is_drawing === true)
return;
if (-1 != oWordControl.m_oTimerScrollSelect)
{
clearInterval(oWordControl.m_oTimerScrollSelect);
oWordControl.m_oTimerScrollSelect = -1;
}
if (null != oWordControl.m_oDrawingDocument.m_oDocumentRenderer)
{
oWordControl.m_oDrawingDocument.m_oDocumentRenderer.OnMouseUp();
......@@ -1766,6 +1766,12 @@ function CEditorPage(api)
global_mouseEvent.IsPressed = false;
if (-1 != oWordControl.m_oTimerScrollSelect)
{
clearInterval(oWordControl.m_oTimerScrollSelect);
oWordControl.m_oTimerScrollSelect = -1;
}
//---
var pos = null;
if (oWordControl.m_oDrawingDocument.AutoShapesTrackLockPageNum == -1)
......@@ -1790,12 +1796,6 @@ function CEditorPage(api)
if (is_drawing === true)
return;
if (-1 != oWordControl.m_oTimerScrollSelect)
{
clearInterval(oWordControl.m_oTimerScrollSelect);
oWordControl.m_oTimerScrollSelect = -1;
}
if (null != oWordControl.m_oDrawingDocument.m_oDocumentRenderer)
{
oWordControl.m_oDrawingDocument.m_oDocumentRenderer.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