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

only use large "touch" vertex icons on mobile devices #171

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

tyrasd
Copy link
Contributor

@tyrasd tyrasd commented Jun 14, 2018

Some (most?) desktop browsers are identified by leaflet as "touch"-capable (see Leaflet/Leaflet#5266), but normally you wouldn't want to use extra large drag vertices on these?! This workaround idea is stolen from Leaflet/Leaflet.draw#692 (comment)

@yohanboniface yohanboniface merged commit 4fd56e5 into Leaflet:master Jun 14, 2018
@yohanboniface
Copy link
Member

Makes sense, thanks!

@John-P
Copy link

John-P commented Apr 1, 2019

I see this has been merged. However, I am still getting the touch vertex icons in Firefox (66.0.1 64-bit). I previously commend at the end of issue #692 with a gif showing this having not noticed this merge.

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.

None yet

3 participants