From a6174d45a096dbd60bdd04598274325ee39c1afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 28 May 2017 11:04:11 +0200 Subject: [PATCH] Fix documentation error. Closes #1332 --- src/tool/Tool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool/Tool.js b/src/tool/Tool.js index fcc39565..d063247e 100644 --- a/src/tool/Tool.js +++ b/src/tool/Tool.js @@ -28,7 +28,7 @@ * * // Only execute onMouseDrag when the mouse * // has moved at least 10 points: - * tool.distanceThreshold = 10; + * tool.minDistance = 10; * * tool.onMouseDown = function(event) { * // Create a new path every time the mouse is clicked