From 0e85cfead950c668b135bc7b281cdbbdd08565b7 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 25 Apr 2007 06:17:17 +0000 Subject: [PATCH] unconditionally stop only button-1 rubberbands on mouseover --- src/select-context.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.30.2