Fixed a playback bug where if you clicked the scrubber while playing, it would continue playing instead of pausing properly.

This commit is contained in:
Scott Erickson 2014-02-24 16:53:55 -08:00
parent d62630d0a7
commit 7f738562e9

View file

@ -169,7 +169,7 @@ module.exports = class PlaybackView extends View
if @clickingSlider
@clickingSlider = false
@wasPlaying = false
@onSetPlaying {playing: false}
Backbone.Mediator.publish 'level-set-playing', {playing: false}
@$el.find('.scrubber-handle').effect('bounce', {times: 2})
)