#19 drag of edit handle moves labels in wrong direction

open
nobody
None
5
2003-02-01
2003-02-01
Johannes Sixt
No

When you drag an edit handle, the labels to the right of the edit are
moved into the wrong direction, so that after the drag the labels are
off by *double* the amount that the handle was dragged. Here is the
patch.

-- Hannes

diff -u -r1.1.1.1 labels.C
--- labels.C 29 Jul 2002 12:30:51 -0000 1.1.1.1
+++ labels.C 1 Feb 2003 21:53:01 -0000
@@ -401,7 +401,7 @@
if(edit_labels &&
handle_mode == MOVE_ALL_EDITS)
{
- if(currentend == 1) // left handle
+ if(currentend == 0) // left handle
{
if(newposition < oldposition)
{

Discussion