Progress arrow with proper length

openid
Marcin Kulik 13 years ago
parent 46e14dcbae
commit 6b2abebbf6

@ -47,7 +47,7 @@ class AsciiIo.HudView extends Backbone.View
@$('.time').html(@formattedTime(time))
if @duration
progress = 100 * time / 1000 / @duration
progress = Math.round(100 * time / 1000 / @duration)
@setProgress progress
setProgress: (percent) ->

@ -210,7 +210,6 @@ class AsciiIo.Movie
true
else
@playing = false
@stopTimeReporter()
@trigger('movie-finished')
if @options.benchmark

Loading…
Cancel
Save