mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
BezierTool: check segment.point first.
This commit is contained in:
parent
25b7219536
commit
114c058fc6
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
<script type="text/javascript" src="../../src/load.js"></script>
|
||||
<script type="text/paperscript" canvas="canvas">
|
||||
var path;
|
||||
var types = ['handleIn', 'handleOut', 'point'];
|
||||
var types = ['point', 'handleIn', 'handleOut'];
|
||||
function findHandle(point) {
|
||||
for (var i = 0, l = path.segments.length; i < l; i++) {
|
||||
for (var j = 0; j < 3; j++) {
|
||||
|
|
Loading…
Reference in a new issue