mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
only process the render queue after we stop moving
This commit is contained in:
parent
eaca616dd3
commit
a4cd5c90c3
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ define [
|
|||
@resetState()
|
||||
|
||||
triggerRenderQueue: (interval = @JOB_QUEUE_INTERVAL) ->
|
||||
if @queueTimer?
|
||||
clearTimeout @queueTimer
|
||||
@queueTimer = setTimeout () =>
|
||||
@queueTimer = null
|
||||
@processRenderQueue()
|
||||
|
|
Loading…
Reference in a new issue