@remotion/rough-notation 4.0.538 → 4.0.539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1755,9 +1755,9 @@ var constructFromInstructions = (instructions) => {
1755
1755
  if (instruction.type === "q") {
1756
1756
  if (instruction.cpdx === 0 && instruction.cpdy === 0) {
1757
1757
  const linearCurve = makeLinearPosition({
1758
- x0: cur[0] + instruction.cpdx,
1759
- x1: cur[0] + instruction.cpdy,
1760
- y0: cur[1] + instruction.dx,
1758
+ x0: cur[0],
1759
+ x1: cur[0] + instruction.dx,
1760
+ y0: cur[1],
1761
1761
  y1: cur[1] + instruction.dy
1762
1762
  });
1763
1763
  totalLength += linearCurve.getTotalLength();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/rough-notation",
3
- "version": "4.0.538",
3
+ "version": "4.0.539",
4
4
  "description": "Rough annotation primitives for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,8 +26,8 @@
26
26
  "url": "https://github.com/remotion-dev/remotion/issues"
27
27
  },
28
28
  "dependencies": {
29
- "@remotion/paths": "4.0.538",
30
- "remotion": "4.0.538",
29
+ "@remotion/paths": "4.0.539",
30
+ "remotion": "4.0.539",
31
31
  "roughjs": "4.6.6"
32
32
  },
33
33
  "peerDependencies": {
@@ -45,7 +45,7 @@
45
45
  "devDependencies": {
46
46
  "react": "19.2.3",
47
47
  "react-dom": "19.2.3",
48
- "@remotion/eslint-config-internal": "4.0.538",
48
+ "@remotion/eslint-config-internal": "4.0.539",
49
49
  "eslint": "9.19.0",
50
50
  "typescript": "7.1.0-beta"
51
51
  },