mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
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:
parent
d62630d0a7
commit
7f738562e9
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue