From b2c82cd0a29a9d7c756d0afef6aba284323a50ab Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 13 Nov 2006 08:49:27 +0000 Subject: [PATCH] fix bug which caused erroneous zoom-in after shift-middle-clicking to zoom out from max zoom with slow redraw --- src/event-context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/event-context.cpp b/src/event-context.cpp index 47447e6a0..e63df0d2f 100644 --- a/src/event-context.cpp +++ b/src/event-context.cpp @@ -452,6 +452,7 @@ static gint sp_event_context_private_root_handler(SPEventContext *event_context, case GDK_BUTTON_RELEASE: if (within_tolerance && (panning || zoom_rb)) { dontgrab ++; + zoom_rb = 0; NR::Point const event_w(event->button.x, event->button.y); NR::Point const event_dt(desktop->w2d(event_w)); double const zoom_power = ( (event->button.state & GDK_SHIFT_MASK) -- 2.30.2