mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -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
|
if @clickingSlider
|
||||||
@clickingSlider = false
|
@clickingSlider = false
|
||||||
@wasPlaying = false
|
@wasPlaying = false
|
||||||
@onSetPlaying {playing: false}
|
Backbone.Mediator.publish 'level-set-playing', {playing: false}
|
||||||
@$el.find('.scrubber-handle').effect('bounce', {times: 2})
|
@$el.find('.scrubber-handle').effect('bounce', {times: 2})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue