1
0
Fork 0

Last tests

This commit is contained in:
Wouter van Wageningen 2023-03-10 03:05:33 +00:00
parent a606319ad5
commit 6b6bca0fbb
4 changed files with 208 additions and 2 deletions

View file

@ -46,11 +46,11 @@ export const pleat = {
paths[so.prefix + 'PleatFrom'] = new Path()
.move(points[so.prefix + 'From'])
.line(points[so.prefix + 'FromIn'])
.attr('class', 'note ' + (so.reverse ? 'dashed' : ''))
.attr('class', 'note' + (so.reverse ? ' dashed' : ''))
paths[so.prefix + 'PleatTo'] = new Path()
.move(points[so.prefix + 'To'])
.line(points[so.prefix + 'ToIn'])
.attr('class', 'note ' + (so.reverse ? '' : 'dashed'))
.attr('class', 'note' + (so.reverse ? '' : ' dashed'))
paths[so.prefix + 'PleatArrow'] = new Path()
.move(
points[so.prefix + (so.reverse ? 'To' : 'From')].shiftFractionTowards(