(e)
| 70 | } |
| 71 | |
| 72 | onVolumeSliderChange (e) { |
| 73 | const volume = this.volumeSlider.slider('value') |
| 74 | me.set('volume', volume) |
| 75 | this.$el.find('#option-volume-value').text((volume * 100).toFixed(0) + '%') |
| 76 | Backbone.Mediator.publish('level:set-volume', { volume }) |
| 77 | return this.playSound('menu-button-click') // Could have another volume-indicating noise |
| 78 | } |
| 79 | |
| 80 | onHidden () { |
| 81 | this.aceConfig.keyBindings = 'default' // We used to give them the option, but we took it away. |