mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-14 13:58:21 +00:00
fix: made cp1 in preview absolute for smooth curves (#1739)
This commit is contained in:
@@ -151,7 +151,7 @@ export const getPaths = (src: string) => {
|
||||
y2: c.y2,
|
||||
})}`,
|
||||
{
|
||||
cp1: reflectedCp1,
|
||||
cp1: { x: prev.x - reflectedCp1.x, y: prev.y - reflectedCp1.y },
|
||||
cp2: { x: c.x2, y: c.y2 },
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user