Skip to content

Commit

Permalink
Don't use audio mapping with level values (just use raw level value)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gration committed Aug 21, 2018
1 parent 90ca33b commit 7e088ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/components/audiofader/audiofader.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ class AudioFader

setLevel: (level) ->
if @sliderRendered and @allowUpdate
level = @_mapValue level
@tmpl.$('input').slider 'setValue', level
level

getLevel: ->
slider = @tmpl.$('input').slider 'getValue'
@_unmapValue slider
@tmpl.$('input').slider 'getValue'

saveLevel: ->
_id = Template.parentData(1)._id
Expand Down

0 comments on commit 7e088ad

Please sign in to comment.