Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

$apply inside seek so it's snappy

  • Loading branch information...
commit bcfd5d177ff6b61e703ffbe2caa0e475c93643c6 1 parent 2259c95
@brandly authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/scripts/directives/seek.coffee
View
3  src/scripts/directives/seek.coffee
@@ -7,6 +7,7 @@ angular.module('sc2.directives')
x = e.offsetX or e.layerX
progress = x / e.target?.offsetWidth
if progress
- scope.player.seek progress
+ scope.$apply ->
+ scope.player.seek progress
}
])
Please sign in to comment.
Something went wrong with that request. Please try again.