[OpenLayers-Commits] r11682 - sandbox/tschaub/click/lib/OpenLayers/Handler

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Mar 9 02:04:21 EST 2011


Author: tschaub
Date: 2011-03-08 23:04:20 -0800 (Tue, 08 Mar 2011)
New Revision: 11682

Modified:
   sandbox/tschaub/click/lib/OpenLayers/Handler/Click.js
Log:
More tolerance for double clicks.

Modified: sandbox/tschaub/click/lib/OpenLayers/Handler/Click.js
===================================================================
--- sandbox/tschaub/click/lib/OpenLayers/Handler/Click.js	2011-03-08 22:28:13 UTC (rev 11681)
+++ sandbox/tschaub/click/lib/OpenLayers/Handler/Click.js	2011-03-09 07:04:20 UTC (rev 11682)
@@ -55,11 +55,11 @@
     /**
      * APIProperty: dblclickTolerance
      * {Number} Maximum distance in pixels between clicks for a sequence of 
-     *     events to be considered a double click.  Default is 10.  If the
+     *     events to be considered a double click.  Default is 13.  If the
      *     distance between two clicks is greater than this value, a double-
      *     click will not be fired.
      */
-    dblclickTolerance: 10,
+    dblclickTolerance: 13,
         
     /**
      * APIProperty: stopSingle



More information about the Commits mailing list