From: Robert H. <ha...@st...> - 2013-08-28 06:33:25
|
Apologies for the bad build on 13.2.4 -- one of the mouse-related files didn't get properly compiled. That is fixed. See https://sourceforge.net/projects/jmol/files/Jmol/Version%2013.2/Version%2013.2.4/ ---------- Forwarded message ---------- From: Charnley <cha...@us...> Date: Tue, Aug 27, 2013 at 4:53 PM Subject: [jmol:bugs] #551 chrome scroll-zoom in 13.2.4 To: Ticket 551 <55...@bu...> ------------------------------ * [bugs:#551] <http://sourceforge.net/p/jmol/bugs/551/> chrome scroll-zoom in 13.2.4* *Status:* open *Labels:* scroll zoom chrome webkit *Created:* Tue Aug 27, 2013 02:53 PM UTC by Charnley *Last Updated:* Tue Aug 27, 2013 02:53 PM UTC *Owner:* nobody When trying to zoom in Jmol.$bind(canvas, ..), _jsGetMouseModifiers() returns 16 (because scroll-button is 0) for chromium-browser (ubuntu 12.04), which results in no zoom happening on the canvas. I 'solved' it by manually setting 'modifiers' to 0 in the $bind(canvas, 'mousewheel', function(ev) method. ------------------------------ Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/jmol/bugs/551/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ -- Robert M. Hanson Larson-Anderson Professor of Chemistry St. Olaf College Northfield, MN http://www.stolaf.edu/people/hansonr If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 |