From 94f1f239b44f3bf8930c31c78102654c0ffca42b Mon Sep 17 00:00:00 2001 From: bulia byak Date: Wed, 25 Apr 2007 06:17:17 +0000 Subject: unconditionally stop only button-1 rubberbands on mouseover (bzr r2961) --- src/select-context.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/select-context.cpp') diff --git a/src/select-context.cpp b/src/select-context.cpp index 983ba2184..089da65b8 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -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; -- cgit v1.2.3