mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 06:27:59 +01:00
Merge pull request #93 from Poniverse/patch/volume-knob-offset
Remove offset from volume knob Y position
This commit is contained in:
commit
a2f00f8134
1 changed files with 1 additions and 1 deletions
|
@ -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) ->
|
||||
|
|
Loading…
Reference in a new issue