fix: 🐛 Activating Pan and Zoom on right and middle click by def (#841)

This commit is contained in:
Gustavo André Lelis authored and Danny Brown committed 2019-09-02 20:38:48 -04:00
1 parent 8f758186c1
commit 7a9b477609
1 file changed
+2 -2
+2 -2
View File
@@ -142,8 +142,8 @@ function getResetLabellingAndContextMenu(store) {
export default function setupTools(store) { export default function setupTools(store) {
const toolLabellingFlowCallback = getToolLabellingFlowCallback(store); const toolLabellingFlowCallback = getToolLabellingFlowCallback(store);
const availableTools = [ const availableTools = [
{ name: 'Pan', mouseButtonMasks: [4] }, { name: 'Pan', mouseButtonMasks: [1, 4] },
{ name: 'Zoom', mouseButtonMasks: [2] }, { name: 'Zoom', mouseButtonMasks: [1, 2] },
{ name: 'Wwwc', mouseButtonMasks: [1] }, { name: 'Wwwc', mouseButtonMasks: [1] },
{ name: 'Magnify' }, { name: 'Magnify' },
{ name: 'WwwcRegion' }, { name: 'WwwcRegion' },