Code

prevent wrong rubberband origin after click-selecting in node tool
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 22 Sep 2007 02:52:44 +0000 (02:52 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 22 Sep 2007 02:52:44 +0000 (02:52 +0000)
src/node-context.cpp

index 3b7a085bef1702b1df007dbddc2cf2f55e5805ca..56b6dd760ff13ff44159feb5af7b115bca8dc3a0 100644 (file)
@@ -368,6 +368,7 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event)
                         selection->set(item_clicked);
                         desktop->updateNow();
                     }
+                    Inkscape::Rubberband::get()->stop();
                     ret = TRUE;
                     break;
                 }