JOSM/Plugins/Nearclick

From OpenStreetMap Wiki
Revision as of 16:03, 30 August 2010 by JohnnyB (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Nearclick

useful for tablets and slippery mice, corrects for problem where a click has to have mouse down and mouse up in exactly the same place for a click to work by simulating a click even when there is a short drag.

Settings

You can set the radius, in pixels, within which the drag is considered to be a click by adding

 nearclick.radius <radius>

to the advanced panel of the JOSM Edit Preferences dialogue. The defaut is 7.

Similarly, adding

 nearclick.delay <milliseconds>

will control how long between button down and up is allowed before the drag is no longer considered a click. The default is 250 milliseconds (a quarter of a second).

Download

The JAR file for the plugin is here. It can also be downloaded and installed directly from the plug-in tab in the JOSM preference dialog.