@remotion/layout-utils
Advanced tools
Comparing version
@@ -30,3 +30,3 @@ "use strict"; | ||
const lineWidthWithWordAdded = widths.reduce((a, b) => a + b, 0); | ||
if (lineWidthWithWordAdded <= maxBoxWidth) { | ||
if (Math.ceil(lineWidthWithWordAdded) < maxBoxWidth) { | ||
lines[currentlyAt].push({ | ||
@@ -33,0 +33,0 @@ text: lines[currentlyAt].length === 0 ? text.trimStart() : text, |
{ | ||
"name": "@remotion/layout-utils", | ||
"version": "4.0.106", | ||
"version": "4.0.107", | ||
"description": "Layout Utils for Remotion", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
14949
0.13%