diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-11-13 08:49:27 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-11-13 08:49:27 +0000 |
| commit | 24d62bf997556a5561a3376b4f2a5db82e3a64db (patch) | |
| tree | 151be0235eb42802d041ff6fe9b159c460bf5229 /src/event-context.cpp | |
| parent | remove default minsize for creating bitmap (diff) | |
| download | inkscape-24d62bf997556a5561a3376b4f2a5db82e3a64db.tar.gz inkscape-24d62bf997556a5561a3376b4f2a5db82e3a64db.zip | |
fix bug which caused erroneous zoom-in after shift-middle-clicking to zoom out from max zoom with slow redraw
(bzr r1945)
Diffstat (limited to 'src/event-context.cpp')
| -rw-r--r-- | src/event-context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
