Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Make sure that marker appearance changes when in editing mode. #363

Merged
merged 1 commit into from
Mar 9, 2016

Conversation

justinmanley
Copy link
Member

This is a fix for a bug introduced by my changes in #323.

Markers were not getting the pink outline in editing mode that indicated that the marker was editable. This was because of an incorrect reference to the marker icon. I was trying to get the _icon property of this, rather than the marker, so _toggleMarkerHighlight was exiting early without adding the editing-style class leaflet-edit-marker-selected.

I have written a quick bugfix and added two regression tests.

Thanks to @kyletolle, who identified the issue in a comment on Leaflet.draw pull request #354.

@kyletolle
Copy link
Contributor

This will be very nice to have back and working!

@ddproxy ddproxy added the bug label Mar 7, 2016
@ddproxy ddproxy added this to the 0.2.6 milestone Mar 7, 2016
@ddproxy ddproxy self-assigned this Mar 7, 2016
@ddproxy ddproxy modified the milestones: 0.2.6, 0.3.1 Mar 7, 2016
@ddproxy ddproxy merged commit e07d284 into Leaflet:master Mar 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants