1
0
Fork 0

Fix ribbon length

This commit is contained in:
Wouter van Wageningen 2020-08-05 06:58:00 -07:00
parent 29e28bbd9f
commit d8db6af749

View file

@ -21,7 +21,7 @@ export default function (part) {
// Points
points.bottomLeft = new Point(0, 0.5 * store.get('ribbonWidth'))
points.topLeft = points.bottomLeft.flipY()
points.bottomRight = points.bottomLeft.shift(0, measurements.neck * (1 + options.collarEase))
points.bottomRight = points.bottomLeft.shift(0, measurements.neck * (1 + options.collarEase) - (band *2))
points.topRight = points.bottomRight.flipY()
points.titleAnchor = points.topLeft.shiftFractionTowards(points.bottomRight, 0.5)