mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix small error in PathStructure example.
This commit is contained in:
parent
132f6df6c8
commit
413e4efce4
1 changed files with 2 additions and 3 deletions
|
@ -6,9 +6,7 @@
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<script type="text/javascript" src="../../dist/paper.js"></script>
|
<script type="text/javascript" src="../../dist/paper.js"></script>
|
||||||
<script type="text/paperscript" canvas="canvas">
|
<script type="text/paperscript" canvas="canvas">
|
||||||
var path = new Path({
|
var path = new Path();
|
||||||
fullySelected: true
|
|
||||||
});
|
|
||||||
|
|
||||||
var segmentTexts = new Layer();
|
var segmentTexts = new Layer();
|
||||||
for (var i = 0; i < 3; i++) {
|
for (var i = 0; i < 3; i++) {
|
||||||
|
@ -59,6 +57,7 @@
|
||||||
handleOut: null
|
handleOut: null
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
path.fullySelected = true;
|
||||||
|
|
||||||
for (var i = 0; i < path.segments.length; i++) {
|
for (var i = 0; i < path.segments.length; i++) {
|
||||||
var point = path.segments[i].point;
|
var point = path.segments[i].point;
|
||||||
|
|
Loading…
Reference in a new issue