Commit 211bdd79 authored by Oleg Korshul's avatar Oleg Korshul

freeze main loop in longAction mode

parent f8e19ca9
......@@ -3064,6 +3064,10 @@ function CEditorPage(api)
this.onTimerScroll = function(isThUpdateSync)
{
var oWordControl = oThis;
if (oWordControl.m_oApi.isLongAction())
return;
oWordControl.m_nTimeDrawingLast = new Date().getTime();
var isRepaint = oWordControl.m_bIsScroll;
......
......@@ -3765,6 +3765,9 @@ function CEditorPage(api)
if (!oWordControl.m_oApi.bInit_word_control)
return;
if (oWordControl.m_oApi.isLongAction())
return;
oWordControl.m_nTimeDrawingLast = new Date().getTime();
var isRepaint = oWordControl.m_bIsScroll;
if (oWordControl.m_bIsScroll)
......
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