Merge pull request #93 from Poniverse/patch/volume-knob-offset

Remove offset from volume knob Y position
This commit is contained in:
Josef Citrine 2016-06-24 17:08:25 +01:00 committed by GitHub
commit a2f00f8134

View file

@ -61,7 +61,7 @@ module.exports = angular.module('ponyfm').directive 'pfmPlayer', () ->
$bar = $element.find('.volume-slider .bar')
player.readyDef.done ->
initialY = (180 - (180 * (player.volume / 100))) - 7.5
initialY = (180 - (180 * (player.volume / 100)))
$knob.css {top: initialY}
moveVolumeSlider = (absoluteY) ->