Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 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 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by kolesar, 9 years ago

Description: modified (diff)

comment:2 by bastiK, 9 years ago

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

comment:3 by kolesar, 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 kolesar, 9 years ago

Attachment: ZoomReverseWheel.patch added

comment:4 by bastiK, 9 years ago

Resolution: fixed
Status: newclosed

In 9824/josm:

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

comment:5 by bastiK, 9 years ago

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

in reply to:  3 comment:6 by bastiK, 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 Klumbumbus, 8 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.