summaryrefslogtreecommitdiff
path: root/assets/test/lasso/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/test/lasso/index.html')
-rw-r--r--assets/test/lasso/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/test/lasso/index.html b/assets/test/lasso/index.html
index 16cb27f..f136f6d 100644
--- a/assets/test/lasso/index.html
+++ b/assets/test/lasso/index.html
@@ -28,7 +28,7 @@ var mymouse = new mouse({
down: function(e, cursor){
// compare to initial point
if (placing) {
- if (points.length > 3 && points[0].distanceTo({ a: cursor.x.a, b: cursor.y.a }) < 3) {
+ if (points.length > 2 && points[0].distanceTo({ a: cursor.x.a, b: cursor.y.a }) < 3) {
points.push(points[0].clone())
placing = false
}