Skip to content

Commit

Permalink
added scroll for focusScroll in ptmol mouse controls
Browse files Browse the repository at this point in the history
Both scroll and drag-shift-right do focusScroll in pymol, but scroll is more intuitive
  • Loading branch information
chmnk committed Jun 27, 2023
1 parent c469608 commit 06b1406
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 06b1406

Please sign in to comment.