diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-10-05 04:44:56 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-10-05 04:44:56 +0000 |
| commit | 9e7ff0929c1d9b443023fa2525a3fc09e1a3b3cc (patch) | |
| tree | 3b425e322f7a4edf32caaa27fcc97c6cf6f03555 /src/event-context.cpp | |
| parent | * [INTL: pl] Updated polish translation of the installer. (diff) | |
| download | inkscape-9e7ff0929c1d9b443023fa2525a3fc09e1a3b3cc.tar.gz inkscape-9e7ff0929c1d9b443023fa2525a3fc09e1a3b3cc.zip | |
fix shift+middle button zoom area when there are other modifiers in the mask; safe typo fix, everywhere else it's checked this way
(bzr r8715)
Diffstat (limited to 'src/event-context.cpp')
| -rw-r--r-- | src/event-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event-context.cpp b/src/event-context.cpp index 958e8cb2b..9b846f2b7 100644 --- a/src/event-context.cpp +++ b/src/event-context.cpp @@ -384,7 +384,7 @@ static gint sp_event_context_private_root_handler(SPEventContext *event_context, } break; case 2: - if (event->button.state == GDK_SHIFT_MASK) { + if (event->button.state & GDK_SHIFT_MASK) { zoom_rb = 2; } else { // When starting panning, make sure there are no snap events pending because these might disable the panning again |
