summaryrefslogtreecommitdiff
path: root/assets/test/lasso
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-11-17 18:32:55 -0500
committerJules Laplace <jules@okfoc.us>2014-11-17 18:32:55 -0500
commit313423fe99372a9800c31fc553bc2fc6e8e9a858 (patch)
tree3e3d5ce32ba9fba8e3ccdcbde8a83208c33f30cc /assets/test/lasso
parent5fa235a556d384117840b7088575012dcd1787dd (diff)
initial brush test.. some bugs
Diffstat (limited to 'assets/test/lasso')
-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
}