🎥 Make videos programmatically with React
fix :kiss:
Jonny Burger4313262fc8ad
diff --git a/packages/paths/src/get-bounding-box.ts b/packages/paths/src/get-bounding-box.tsindex e58939bce5..e9be102aa4 100644--- a/packages/paths/src/get-bounding-box.ts+++ b/packages/paths/src/get-bounding-box.ts@@ -4,6 +4,7 @@ import type {BoundingBox,ReducedInstruction,} from './helpers/types';+import {normalizeInstructions} from './normalize-path';import {parsePath} from './parse-path';type minMax = [min: number, max: number];@@ -89,7 +90,7 @@ function minmaxC(A: [number, number, number, number]): minMax {export const getBoundingBox = (d: string): BoundingBox => {const parsed = parsePath(d) as AbsoluteInstruction[];- const unarced = removeATSHVInstructions(parsed);+ const unarced = removeATSHVInstructions(normalizeInstructions(parsed));return getBoundingBoxFromInstructions(unarced);};