Skip to content

Commit

Permalink
Update youtube-scripts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube authored Mar 31, 2021
1 parent a4ee4c6 commit 3af54a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,7 @@ ImprovedTube.shortcuts = function() {

if (video && video.playbackRate) {
if ( video.playbackRate < 0.15+ImprovedTube.storage.shortcut_playback_speed_step ) {
video.playbackRate = video.playbackRate*0.7 } else { // slow down near minimum
video.playbackRate = (video.playbackRate*0.7).toFixed(3) } else { // slow down near minimum

video.playbackRate = Math.max(Number((video.playbackRate - Number(ImprovedTube.storage.shortcut_playback_speed_step || .05)).toFixed(2)), .1);
}
Expand Down

0 comments on commit 3af54a6

Please sign in to comment.