Fix documentation error.

Closes #1332
This commit is contained in:
Jürg Lehni 2017-05-28 11:04:11 +02:00
parent a7fb971560
commit a6174d45a0

View file

@ -28,7 +28,7 @@
* *
* // Only execute onMouseDrag when the mouse * // Only execute onMouseDrag when the mouse
* // has moved at least 10 points: * // has moved at least 10 points:
* tool.distanceThreshold = 10; * tool.minDistance = 10;
* *
* tool.onMouseDown = function(event) { * tool.onMouseDown = function(event) {
* // Create a new path every time the mouse is clicked * // Create a new path every time the mouse is clicked