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

This commit is contained in:
Gustavo André Lelis 2019-09-02 21:38:48 -03:00 committed by Danny Brown
parent 8f758186c1
commit 7a9b477609

View File

@ -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' },