mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Removed offset from height
7.5 has been removed from the maths equation for the knob initial position.
This commit is contained in:
parent
9f01a0cbc5
commit
151fd2d396
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