🎥 Make videos programmatically with React
handle floating point inaccuracies
Jonny Burger66019656b5c9
diff --git a/packages/cli/src/progress-bar.ts b/packages/cli/src/progress-bar.tsindex a0c93a32b5..b79e3fc23c 100644--- a/packages/cli/src/progress-bar.ts+++ b/packages/cli/src/progress-bar.ts@@ -267,7 +267,8 @@ export const makeRenderingAndStitchingProgress = ({};const getGuiProgressSubtitle = (progress: AggregateRenderProgress): string => {- if (progress.bundling.progress < 1) {+ // Handle floating point inaccuracies+ if (progress.bundling.progress < 0.99999) {return `Bundling ${Math.round(progress.bundling.progress * 100)}%`;}