mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 08:00:03 +00: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