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

Ctrl arrow decreases pan offset #601

Merged
merged 2 commits into from
Dec 5, 2021
Merged

Conversation

ben-lu-uw
Copy link
Contributor

Closes #388
Leaflet does not want modifier + arrow keys being pressed -> #388 (comment) so leaving this as a draft for further discussion.

@ben-lu-uw ben-lu-uw marked this pull request as ready for review December 3, 2021 14:09
@ben-lu-uw ben-lu-uw requested a review from prushforth December 3, 2021 14:09
@prushforth
Copy link
Member

I tried a L.point(offset).divideBy(5), I think that gives you a little finer control when using the reticle

@prushforth prushforth requested a review from Malvoz December 3, 2021 14:43
Copy link
Member

@Malvoz Malvoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern is #388 (comment), but that's not relevant at this time.

@prushforth prushforth merged commit 384a676 into Maps4HTML:main Dec 5, 2021
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.

Allow Ctrl-Arrow decrease the pan increment
3 participants