[OpenLayers-Trac] Re: [OpenLayers] #3133: click handler calls
dblclick callback even if clicks are very far away
OpenLayers
trac-20090302 at openlayers.org
Sun Feb 27 20:53:17 EST 2011
#3133: click handler calls dblclick callback even if clicks are very far away
---------------------------+------------------------------------------------
Reporter: tschaub | Owner: tschaub
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Handler.Click | Version: 2.10
Keywords: | State: Review
---------------------------+------------------------------------------------
Changes (by tschaub):
* state: => Review
Comment:
The intention of this patch is to add a dblclickTolerance to the click
handler and to improve the separation of touch and mouse event handling.
This handler was getting twisted with touch event listeners calling mouse
event listeners. Instead, we only use the methods named like browser
events as listeners for those events.
This will likely take some more tweaking, but if anybody wants to take a
stab at reviewing, the tests pass.
--
Ticket URL: <http://trac.openlayers.org/ticket/3133#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list