[josm-dev] Changes to fix accidental moving

Frederik Ramm frederik at remote.org
Thu Jan 24 21:27:06 GMT 2008


Hi,

   the latest JOSM version (.jar available immediately) contains
modifications that will hopefully help people to stop the accidental
moving of objects.

We already had, and still have, an "initial delay", i.e. a minimum
time you have to have the mouse button down before anything counts as
a move. I have changed the default of this from 100 to 200
milliseconds, and it is configurable via edit.initial-move-delay.

In addition to that, I have introduced an "initial threshold", i.e. a
minimum distance you have to drag something before it is actually
moved. The default is currently set to 15 pixels but of course we can
change the default to what works best, and you can configure it via
edit.initial-move-threshold. (Set this to zero if you want to disable
the move threshold altogehter and keep the old behaviour.)

Because such a threshold makes it more difficult to move things for
distances *below* the threshold (it is possible by first breaking free
and then moving back, but that's cumbersome), I have also added a
"nudge" function that lets you move the selected object(s) by one
pixel using Shift+arrow keys.

Does this solve all problems, or create new ones...?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'





More information about the josm-dev mailing list