mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Scrubber auto-pauses when dragging from ended position.
This commit is contained in:
parent
2aa274cb2d
commit
5e0b42068a
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ module.exports = class LevelPlaybackView extends CocoView
|
|||
start: (event, ui) =>
|
||||
return if @shouldIgnore()
|
||||
@slideCount = 0
|
||||
@wasPlaying = @playing
|
||||
@wasPlaying = @playing and not $('#play-button').hasClass('ended')
|
||||
Backbone.Mediator.publish 'level:set-playing', {playing: false}
|
||||
Backbone.Mediator.publish 'audio-player:play-sound', trigger: 'playback-scrub-start', volume: 0.5
|
||||
|
||||
|
|
Loading…
Reference in a new issue