Commit 17c89f6a authored by Oleg Korshul's avatar Oleg Korshul

reporter bugs

parent 34931046
......@@ -3429,12 +3429,17 @@ function CDemonstrationManager(htmlpage)
return false;
}
this.onMouseUp = function(e, isAttack)
this.onMouseUp = function(e, isAttack, isFromMainToReporter)
{
if (!oThis.isMouseDown && true !== isAttack)
return;
if (AscCommon.global_mouseEvent.IsLocked)
AscCommon.global_mouseEvent.IsLocked = false;
oThis.isMouseDown = false;
if (isFromMainToReporter && oThis.PointerDiv && oThis.HtmlPage.m_oApi.isReporterMode)
oThis.PointerRemove();
if (oThis.PointerDiv && oThis.HtmlPage.m_oApi.isReporterMode)
{
......
......@@ -6118,7 +6118,7 @@ background-repeat: no-repeat;\
}
else if (undefined !== _obj["mouseUp"])
{
_this.WordControl.DemonstrationManager.onMouseUp({}, true);
_this.WordControl.DemonstrationManager.onMouseUp({}, true, true);
}
else if (undefined !== _obj["mouseWhell"])
{
......
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