Skip to content

Commit

Permalink
Merge pull request openlayers#84 from ahocevar/wait-move
Browse files Browse the repository at this point in the history
Default pixel tolerance of 2. r=@bartvde
  • Loading branch information
ahocevar committed Nov 30, 2011
2 parents 92cfa0e + c311aa6 commit 47a02f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/OpenLayers/Control/GetFeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
this.handlers.hover = new OpenLayers.Handler.Hover(
this, {'move': this.cancelHover, 'pause': this.selectHover},
OpenLayers.Util.extend(this.handlerOptions.hover, {
'delay': 250
'delay': 250,
'pixelTolerance': 2
})
);
}
Expand Down

0 comments on commit 47a02f5

Please sign in to comment.