Skip to content

Commit

Permalink
fix: 🐛 Activating Pan and Zoom on right and middle click by def (OHIF…
Browse files Browse the repository at this point in the history
  • Loading branch information
galelis authored and dannyrb committed Sep 3, 2019
1 parent 8f75818 commit 7a9b477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/viewer/src/setupTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit 7a9b477

Please sign in to comment.