@ -67,6 +67,11 @@
// Mark it non-segmented if the target is too high. This prevents a clunky progress bar,
// or a browser freeze if you set the target very high.
nonSegmented = alwaysSmooth || (target >= 60);
if (!nonSegmented) {
ons = Math.round(ons);
offs = Math.round(offs);
}
} else {
offClass = "none";
nonSegmented = alwaysSmooth;