From c87b289a2724b9f0cc6e90ead295b1d430a2341c Mon Sep 17 00:00:00 2001 From: joostdecock Date: Sun, 12 Sep 2021 13:52:58 +0200 Subject: [PATCH] chore: Added deprecation for theo --- packages/theo/src/back.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/theo/src/back.js b/packages/theo/src/back.js index f918c5cbefa..896f187f1ae 100644 --- a/packages/theo/src/back.js +++ b/packages/theo/src/back.js @@ -14,8 +14,12 @@ export default function (part) { measurements, snippets, Snippet, + raise } = part.shorthand() + // This pattern needs a rewrite + raise.warning('Theo in its current incarnation is deprecated. A complete rewrite based on our Titan block is on [our v3 roadmap](https://github.com/freesewing/freesewing/discussions/1278). Until that time, if it works, great. If not ¯\\\\__(ツ)\\__/¯') + const calculateSlashCorner = () => { points[901] = utils.beamsIntersect(points[20], points[19], points[26], points[4]) points[902] = points[901].clone()