Commit 8d9d7632 authored by Oleg Korshul's avatar Oleg Korshul

.

parent 5215fa61
...@@ -3066,7 +3066,10 @@ function CEditorPage(api) ...@@ -3066,7 +3066,10 @@ function CEditorPage(api)
var oWordControl = oThis; var oWordControl = oThis;
if (oWordControl.m_oApi.isLongAction()) if (oWordControl.m_oApi.isLongAction())
{
oWordControl.m_nPaintTimerId = setTimeout(oWordControl.onTimerScroll, oWordControl.m_nTimerScrollInterval);
return; return;
}
oWordControl.m_nTimeDrawingLast = new Date().getTime(); oWordControl.m_nTimeDrawingLast = new Date().getTime();
...@@ -3127,7 +3130,7 @@ function CEditorPage(api) ...@@ -3127,7 +3130,7 @@ function CEditorPage(api)
} }
} }
this.m_nPaintTimerId = setTimeout(oWordControl.onTimerScroll, oWordControl.m_nTimerScrollInterval); oWordControl.m_nPaintTimerId = setTimeout(oWordControl.onTimerScroll, oWordControl.m_nTimerScrollInterval);
//window.requestAnimationFrame(oWordControl.onTimerScroll); //window.requestAnimationFrame(oWordControl.onTimerScroll);
}; };
......
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