Fixed downvoted sponsors reappearing.

This commit is contained in:
Ajay Ramachandran
2019-12-13 22:38:00 -05:00
parent a5baebab3f
commit 369364f574
3 changed files with 9 additions and 10 deletions

View File

@@ -59,6 +59,8 @@ class PreviewBar {
duration = Math.floor(duration * 100) / 100;
let width;
for (let i = 0; i < timestamps.length; i++) {
if (types[i] == null) continue;
width = (timestamps[i][1] - timestamps[i][0]) / duration * 100;
width = Math.floor(width * 100) / 100;