Code

unconditionally stop only button-1 rubberbands on mouseover
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 25 Apr 2007 06:17:17 +0000 (06:17 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 25 Apr 2007 06:17:17 +0000 (06:17 +0000)
src/select-context.cpp

index 983ba2184322a21d4147f89a83c1030fbb526bde..089da65b840ea94824cc0d678a2829972c5469c1 100644 (file)
@@ -661,7 +661,9 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event)
                 
                 desktop->updateNow();
             }
-            Inkscape::Rubberband::get()->stop(); // might have been started in another tool!
+            if (event->button.button == 1) {
+                Inkscape::Rubberband::get()->stop(); // might have been started in another tool!
+            }
             sc->button_press_shift = false;
             sc->button_press_ctrl = false;
             sc->button_press_alt = false;