[OSM-dev] [OSM-talk] JOSM nearclick plugin - SVN commit privilege needed please
David Earl
david at frankieandshadow.com
Mon Aug 6 14:06:53 BST 2007
On 21/07/2007 11:53, David Earl wrote:
> Is there some magic to getting the JOSM nearclick plugin to work (or
> increase its sensitivity)? I've update to the latest of everything and
> it didn't work before and doesn't work now as far as I can tell. This is
> on Windows XP if that makes any difference.
>
> I use a tablet most of the time, and it is frustrating having to click
> repeatedly until I get a single pixel without pen movement (I have the
> same problem with a quite slippery mouse as well very often).
I didn't get a reply to this over on talk, so I brushed off my rusty
Java and looked at the source. The test for 'near' is completely wrong
(it doesn't do an abs on the difference between coordinates - and would
be better as a radial test anyway - and it doesn't do the click if
_either_ coordinate is the same on down as up rather than _both_. And
there is a 7 pixel locality hard coded, which isn't enough on my tablet.
So I've fixed it, and made the radius (and time delay) configurable
through the Preferences panel.
I now need an account to do svn commits. How can I get one?
Thanks,
David
More information about the dev
mailing list