Reduce problem alert jiggle duration to 1s

This commit is contained in:
Matt Lott 2014-11-23 21:58:27 -08:00
parent b87cf462fc
commit 6b7e146084

View file

@ -77,7 +77,7 @@ module.exports = class ProblemAlertView extends CocoView
Backbone.Mediator.publish 'audio-player:play-sound', trigger: 'error_appear', volume: 1.0
pauseJiggle = =>
@$el?.removeClass 'jiggling'
_.delay pauseJiggle, 2000
_.delay pauseJiggle, 1000
onHideProblemAlert: ->
@onRemoveClicked()