From 76b9efabebbd8920858d2aaca402abae51c1458f Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Fri, 27 Oct 2017 11:18:21 -0400 Subject: [PATCH] Allow ctrl key to zoom --- src/containers/paper-canvas.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/paper-canvas.jsx b/src/containers/paper-canvas.jsx index 9534fedf..28efc18b 100644 --- a/src/containers/paper-canvas.jsx +++ b/src/containers/paper-canvas.jsx @@ -125,7 +125,7 @@ class PaperCanvas extends React.Component { } } handleWheel (event) { - if (event.metaKey) { + if (event.metaKey || event.ctrlKey) { // Zoom keeping mouse location fixed const canvasRect = this.canvas.getBoundingClientRect(); const offsetX = event.clientX - canvasRect.left;