Permalink
Browse files

Animate the progress indicator (now the animation loop is always star…

…ted again)
  • Loading branch information...
eelco committed Aug 12, 2016
1 parent 7d48128 commit b5b4642c2e79877da76fd2c25235aedceb088f90
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/Extras/Preloader.coffee
@@ -116,7 +116,7 @@ class Preloader extends BaseClass
_handleProgress: =>
@emit("progress", @progress)
@progressIndicator?.setProgress(@progress, false)
@progressIndicator?.setProgress(@progress)
@_handleLoaded() if @isReady
_handleLoaded: ->
@@ -144,7 +144,7 @@ class Preloader extends BaseClass
@progressIndicator.railsColor = Color.grey(0, 0.1)
@progressIndicator.progressColor = "rgb(75,169,248)"
@progressIndicator.setProgress(@progress, false)
@progressIndicator.setProgress(@progress)
@brand = new Layer
size: 96

0 comments on commit b5b4642

Please sign in to comment.