From: buliabyak Date: Wed, 25 Apr 2007 06:17:17 +0000 (+0000) Subject: unconditionally stop only button-1 rubberbands on mouseover X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0e85cfead950c668b135bc7b281cdbbdd08565b7;p=inkscape.git unconditionally stop only button-1 rubberbands on mouseover --- 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;