mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +00:00
lint
This commit is contained in:
@ -62,7 +62,7 @@ const setupSliderListeners = () => {
|
|||||||
}
|
}
|
||||||
// e.deltaY < 0 means wheel-up
|
// e.deltaY < 0 means wheel-up
|
||||||
playbackSpeed = roundToTwo(e.deltaY < 0 ?
|
playbackSpeed = roundToTwo(e.deltaY < 0 ?
|
||||||
math.min(playbackSpeed + 0.01, MAX_PLAYBACK_SPEED) :
|
Math.min(playbackSpeed + 0.01, MAX_PLAYBACK_SPEED) :
|
||||||
Math.max(playbackSpeed - 0.01, MIN_PLAYBACK_SPEED)
|
Math.max(playbackSpeed - 0.01, MIN_PLAYBACK_SPEED)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user