-rw-r--r-- | src/controller/callbacks/mouse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controller/callbacks/mouse.c b/src/controller/callbacks/mouse.c index f594c23..f901476 100644 --- a/src/controller/callbacks/mouse.c +++ b/src/controller/callbacks/mouse.c | |||
@@ -26,7 +26,9 @@ mouse (int button, int state, int x, int y) | |||
26 | // Deactive a panning event if one was happening. | 26 | // Deactive a panning event if one was happening. |
27 | S.pan.active = false; | 27 | S.pan.active = false; |
28 | 28 | ||
29 | if (S.selection.active && S.selection.purpose == ZOOM) | 29 | if (S.selection.active && |
30 | S.selection.purpose == ZOOM && | ||
31 | glutGetModifiers () == GLUT_ACTIVE_CTRL) | ||
30 | { | 32 | { |
31 | /* | 33 | /* |
32 | * NOOP if the mouse was not moved. | 34 | * NOOP if the mouse was not moved. |