1
0
Fork 0

fix(docs): Add paths to prevent Example clipping

This commit is contained in:
Benjamin F 2022-12-09 21:23:35 -08:00
parent 630908519c
commit 1ba6fc4e7f
2 changed files with 10 additions and 0 deletions

View file

@ -26,6 +26,11 @@ float point.dy(Point point)
.setClass("dotted")
.setText(units(points.from.dy(points.to)), 'center')
// Prevents clipping
paths.diag = new Path()
.move(new Point(-10,40))
.move(new Point(60,10))
return part
}
```