Skip to content

Commit

Permalink
Merge pull request nglviewer#992 from chmnk/master
Browse files Browse the repository at this point in the history
added scroll for focusScroll in pymol mouse controls
  • Loading branch information
ppillot committed Oct 11, 2023
2 parents 57c0362 + 06b1406 commit cd8f528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controls/mouse-actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export const MouseActionPresets = {
[ 'drag-left', MouseActions.rotateDrag ],
[ 'drag-middle', MouseActions.panDrag ],
[ 'drag-right', MouseActions.zoomDrag ],
[ 'scroll', MouseActions.focusScroll ],
[ 'drag-shift-right', MouseActions.focusScroll ],

[ 'clickPick-ctrl+shift-middle', MouseActions.movePick ],
Expand Down

0 comments on commit cd8f528

Please sign in to comment.