Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#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 kolesar)

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)

ZoomReverseWheel.patch (6.2 KB) - added by kolesar 3 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 3 years ago by kolesar

Description: modified (diff)

comment:2 Changed 3 years ago by bastiK

Please use ant clean compile to make sure jmapviewer compiles. There is FeatureAdapter to resolve dependencies, but you may not need it.

comment:3 Changed 3 years ago by kolesar

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.

Changed 3 years ago by kolesar

Attachment: ZoomReverseWheel.patch added

comment:4 Changed 3 years ago by bastiK

Resolution: fixed
Status: newclosed

In 9824/josm:

applied #12539 - reverse zoom with mouse wheel (patch by kolesar)

comment:5 Changed 3 years ago by bastiK

In [o32074]: see ​#josm12539 - option to reverse zoom with mouse wheel

comment:6 in reply to:  3 Changed 3 years ago by bastiK

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 Changed 3 years ago by Klumbumbus

Milestone: 16.02

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.