Code

leave the selection alone on mouse down.
authoracspike <acspike@users.sourceforge.net>
Thu, 1 Mar 2007 18:23:54 +0000 (18:23 +0000)
committeracspike <acspike@users.sourceforge.net>
Thu, 1 Mar 2007 18:23:54 +0000 (18:23 +0000)
This prevents selecting nodes on drag and still allows them to be selected on click.

src/node-context.cpp

index 0008181613a98343c2081641f889ac557bbd3ade..235b89db3d34215391f7e1aeaa6664fe8706ed43 100644 (file)
@@ -275,7 +275,6 @@ sp_node_context_item_handler(SPEventContext *event_context, SPItem *item, GdkEve
                             bool over_stroke = nc->shape_editor->is_over_stroke(NR::Point(event->button.x, event->button.y), true);
                             //only dragging curves
                             if (over_stroke) {
-                                nc->shape_editor->select_segment_near_point(false);
                                 ret = TRUE;
                             } else {
                                 break;