Patches item #1039144, was opened at 2004-10-02 22:01
Message generated for change (Comment added) made by migueljmol
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1039144&group_id=23629
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Won Kyu Park (wkpark)
Assigned to: Nobody/Anonymous (nobody)
Summary: mouse shift-drag enhancement
Initial Comment:
mouse drag with a shiftkey enhancement
---------
Index:
src/org/openscience/jmol/viewer/managers/MouseManager.java
===================================================================
RCS file:
/cvsroot/jmol/Jmol/src/org/openscience/jmol/viewer/managers/MouseManager.java,v
retrieving revision 1.36
diff -u -r1.36 MouseManager.java
---
src/org/openscience/jmol/viewer/managers/MouseManager.java
19 Sep 2004 00:45:50 -0000 1.36
+++
src/org/openscience/jmol/viewer/managers/MouseManager.java
2 Oct 2004 19:53:07 -0000
@@ -298,6 +298,8 @@
viewer.zoomBy(deltaY);
// fall into
case SHIFT_RIGHT: // the one-button Mac folks
won't get this gesture
+ if (yCurrent > viewer.getScreenHeight() / 2)
+ deltaX*=-1;
viewer.rotateZBy(-deltaX);
break;
}
--------
mouse drag action to Zoom or Rotate is common action
people may drag down to zoom up and rotate it.
* drag down: updown gesture
* rotate: downside left right gesture
but, with left-right gesture it rotate counterclock wise.
clockwise is more intuitive action.
this patch fix like following:
upside gesture with viewer.rotateZBy(-deltaX)
downside gesiture with viewer.rotateZBy(deltaX)
----------------------------------------------------------------------
>Comment By: Miguel (migueljmol)
Date: 2004-10-02 22:34
Message:
Logged In: YES
user_id=1050060
I am not convinced that this is a good change.
It means that the meaning of the mouse gesture changes depending upon
where the mouse is located.
I suggest that you post a message to the jmol-users mailing list and ask
people what they think.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1039144&group_id=23629
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers