Commit db288428 authored by Oleg Korshul's avatar Oleg Korshul

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

parent 8567aee7
...@@ -3850,9 +3850,6 @@ function CEditorPage(api) ...@@ -3850,9 +3850,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)
...@@ -3863,7 +3860,10 @@ function CEditorPage(api) ...@@ -3863,7 +3860,10 @@ 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