On Fri, May 8, 2015 at 1:33 PM, Otis Rothenberger <osrot...@chemagic.com>
wrote:
> Thanks Bob, but I’m still having problems. This may relate the approach
> that I’m using that worked in the past. In this approach, I use the screen
> as two of your buttons - i.e. double tap screen to toggle rotate translate
> modes. In my code, I guess this double binding could be messing things up.
> I’m not sure.
>
>
>
This does the trick:
set picking dragMolecule
bind "left-double-click" "if(allowrotateSelected){unbind
_rotateSelected;background white;set allowRotateSelected false;bind
'left-drag' _dragAtom}else{unbind _dragAtom;background yellow;bind
'left-drag' _rotateSelected ;set allowRotateSelected;}"
"background" change is just to show it is working.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users