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

правильная заглушка под отрисовщик

parent d5eb60fd
...@@ -3826,9 +3826,6 @@ function CEditorPage(api) ...@@ -3826,9 +3826,6 @@ function CEditorPage(api)
} }
oWordControl.m_oApi.asc_fireCallback("asc_onPaintTimer"); oWordControl.m_oApi.asc_fireCallback("asc_onPaintTimer");
if (true !== is_no_timer)
this.m_nPaintTimerId = setTimeout(oWordControl.onTimerScroll2, oWordControl.m_nTimerScrollInterval);
//window.requestAnimationFrame(oWordControl.onTimerScroll2); //window.requestAnimationFrame(oWordControl.onTimerScroll2);
} }
this.onTimerScroll2 = function(is_no_timer) this.onTimerScroll2 = function(is_no_timer)
...@@ -3840,6 +3837,9 @@ function CEditorPage(api) ...@@ -3840,6 +3837,9 @@ function CEditorPage(api)
catch (err) catch (err)
{ {
} }
if (true !== is_no_timer)
this.m_nPaintTimerId = setTimeout(oThis.onTimerScroll2, oThis.m_nTimerScrollInterval);
} }
this.onTimerScroll2_sync = function() this.onTimerScroll2_sync = function()
......
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