Skip to content

Conversation

k4
Copy link
Contributor

@k4 k4 commented Feb 22, 2012

small feature: Ability to catch mouse clicks with Ctrl key pressed.

@mourner
Copy link
Member

mourner commented Feb 22, 2012

Nice addition! But for it to be more flexible (e.g. you'll want shiftKey in future), I think it's better to pass the whole originalEvent property.

@k4
Copy link
Contributor Author

k4 commented Feb 22, 2012

Agree, originalEvent will be more flexible.

mourner added a commit that referenced this pull request Feb 22, 2012
@mourner mourner merged commit 128dd31 into Leaflet:master Feb 22, 2012
@mourner
Copy link
Member

mourner commented Feb 22, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants