remove the pdf spinner, it causes unwanted reflow/repaint

This commit is contained in:
Brian Gough 2014-12-04 16:44:03 +00:00
parent b388c587e5
commit ce4fb7ec04

View file

@ -59,7 +59,7 @@ define [
return if @complete[pagenum] return if @complete[pagenum]
@renderQueue = @renderQueue.filter (q) -> @renderQueue = @renderQueue.filter (q) ->
q.pagenum != pagenum q.pagenum != pagenum
@stopSpinner (element.canvas) # @stopSpinner (element.canvas)
triggerRenderQueue: () -> triggerRenderQueue: () ->
$timeout () => $timeout () =>
@ -90,7 +90,7 @@ define [
return if @renderTask[pagenum] return if @renderTask[pagenum]
@jobs = @jobs + 1 @jobs = @jobs + 1
@addSpinner(element.canvas) # @addSpinner(element.canvas)
pageLoad = @getPage(pagenum) pageLoad = @getPage(pagenum)