mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
Limit min speed to 0.00
This commit is contained in:
@@ -88,7 +88,7 @@ chrome.extension.sendMessage({}, function(response) {
|
||||
v.playbackRate -= 0.10;
|
||||
v.currentTime -= 10;
|
||||
} else if (action === 'faster') { v.playbackRate += 0.10 }
|
||||
else if (action === 'slower') { v.playbackRate -= 0.10 }
|
||||
else if (action === 'slower') { v.playbackRate = Math.max(v.playbackRate - 0.10, 0.00) }
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user