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

setRadius doesn't center magnifying glass on mouse pointer #15

Open
StefanBrand opened this issue Jul 19, 2019 · 0 comments
Open

setRadius doesn't center magnifying glass on mouse pointer #15

StefanBrand opened this issue Jul 19, 2019 · 0 comments

Comments

@StefanBrand
Copy link

I came upon this when implementing #14. When I call setRadius the magnifying glass "jumps" off-center because it is resized. Then when I move the mouse, it jumps back to its center position around the mouse pointer. Can we tweak L.MagnifyingGlass so that setRadius also centers the magnifying glass correctly?

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

No branches or pull requests

1 participant