Feature Requests item #1830041, was opened at 2007-11-12 03:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1830041&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface Improvements
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Won Kyu Park (wkpark)
Assigned to: Nobody/Anonymous (nobody)
Summary: shift-right mouse drag gesture

Initial Comment:
Is it intutive to rotate a molecular with mouse Shift-right click and drag 
action ?

I suggest a simple patch against the MouseManager.java file and it fix the 
action of shift-right.
-------------
    case SHIFT_RIGHT: // the one-button Mac folks won't get this gesture
+      if (Math.abs(deltaY) > 5 * Math.abs(deltaX)) {
+       if (xCurrent < viewer.getScreenWidth()/2) deltaY*=-1;
+        viewer.rotateZBy(-deltaY);
+      }
+      if (yCurrent > viewer.getScreenHeight()/2) deltaX*=-1;
      viewer.rotateZBy(-deltaX);
      break;
-------------


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1830041&group_id=23629

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to