Code

now all knots display x/y in statusbar while being dragged, fixes bug 1523580
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 10 Mar 2007 02:45:40 +0000 (02:45 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 10 Mar 2007 02:45:40 +0000 (02:45 +0000)
src/knot.cpp

index d65b64299ab4a34f7f9b0e3edb152d20796b1621..d8b3548d772ee09642e4546b5887511a25ce9490 100644 (file)
@@ -379,6 +379,7 @@ static int sp_knot_handler(SPCanvasItem *item, GdkEvent *event, SPKnot *knot)
                 NR::Point p = motion_dt - knot->grabbed_rel_pos;
                 sp_knot_request_position (knot, &p, event->motion.state);
                 knot->desktop->scroll_to_point (&motion_dt);
+                knot->desktop->set_coordinate_status(knot->pos); // display the coordinate of knot, not cursor - they may be different!
                 moved = TRUE;
             }
             break;