From ca735fa07021c698319a762e66bd68e9e26fe6f0 Mon Sep 17 00:00:00 2001 From: David Wire Date: Wed, 17 Jul 2019 07:45:29 -0600 Subject: [PATCH] fix(availableTools): add ArrowAnnotate as an available tool (#667) * add ArrowAnnotate as an available tool * review response - remove the cargo culted mouseButtonMasks --- src/setupTools.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/setupTools.js b/src/setupTools.js index 8479a4219..64fe2b1be 100644 --- a/src/setupTools.js +++ b/src/setupTools.js @@ -217,6 +217,14 @@ export default function setupTools(store) { { name: 'ZoomTouchPinch' }, { name: 'StackScrollMouseWheel' }, { name: 'StackScrollMultiTouch' }, + { + name: 'ArrowAnnotate', + props: { + configuration: { + getMeasurementLocationCallback: toolLabellingFlowCallback, + }, + }, + }, ]; const onRightClick = getOnRightClickCallback(store);