From 7a9b477609943efd13e46c912ea1f8f59816124a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20Lelis?= Date: Mon, 2 Sep 2019 21:38:48 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Activating=20Pan=20and=20?= =?UTF-8?q?Zoom=20on=20right=20and=20middle=20click=20by=20def=20(#841)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/viewer/src/setupTools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/viewer/src/setupTools.js b/platform/viewer/src/setupTools.js index 71b6ad5e2..77b72fd49 100644 --- a/platform/viewer/src/setupTools.js +++ b/platform/viewer/src/setupTools.js @@ -142,8 +142,8 @@ function getResetLabellingAndContextMenu(store) { export default function setupTools(store) { const toolLabellingFlowCallback = getToolLabellingFlowCallback(store); const availableTools = [ - { name: 'Pan', mouseButtonMasks: [4] }, - { name: 'Zoom', mouseButtonMasks: [2] }, + { name: 'Pan', mouseButtonMasks: [1, 4] }, + { name: 'Zoom', mouseButtonMasks: [1, 2] }, { name: 'Wwwc', mouseButtonMasks: [1] }, { name: 'Magnify' }, { name: 'WwwcRegion' },