#12539 closed enhancement (fixed)
[patch] reverse zoom with mouse wheel
Reported by: | kolesar | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description (last modified by )
Some software use mouse wheel zoom in reverse direction. People practiced with this convention may feel JOSM more convenient if there would be an option to to reverse zoom direction with mouse wheel. Added this option to look and feel preferences. Slippy map in download dialog also reverses wheel zoom.
Attachments (1)
Change History (8)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
follow-up: 6 comment:3 by , 9 years ago
Sorry for trouble, I have not realized that JMapViewer
is a standalone component.
New code sets a static boolean
in JMapViewer on startup and when preference changes. Therefore all JMapViewer subclasses use the global setting without any modification in their code.
Slippy map in download dialog should be set up even when map is not displayed and MapMover
is not instantiated yet. Therefore I have placed this code into a nested static class in MapMover to be initialized on startup.
by , 9 years ago
Attachment: | ZoomReverseWheel.patch added |
---|
comment:6 by , 9 years ago
Replying to kolesar:
Sorry for trouble, I have not realized that
JMapViewer
is a standalone component.
No trouble at all. You are changing so much that you get to know all the JOSM quirks in a short time. :)
comment:7 by , 8 years ago
Milestone: | → 16.02 |
---|
Please use
ant clean compile
to make sure jmapviewer compiles. There isFeatureAdapter
to resolve dependencies, but you may not need it.