CMU-CREATE-Lab / data-visualization-tools

EarthTime, and various data visualization libraries
Other
14 stars 5 forks source link

scrollwheel-to-zoom is too slow on Macs with mechanical scroll wheel #38

Open rsargent opened 5 years ago

rsargent commented 5 years ago

The hack in timelapse.js to slow down Mac scrolling is useful for laptop scrollpad and "magic mouse" with scrollpad on the mouse, but is way too slow for Macs with mechanical wheels. This isn't a problem with zooming UIs on similar platforms like Google Maps.

Should we upgrade to a more modern interpretation of WheelEvent honoring DOM_DELTA_PIXEL vs DOM_DELTA_LINE?

pdille commented 4 years ago

Saw this on Illah's mac with a scroll wheel. We need to revisit this.

rsargent commented 4 years ago

We might need to deal with deltaMode DOM_DELTA_PIXEL vs DOM_DELTA_LINE

I have 2 generations of Mac mice and some "standard" mice and am happy to test for this.

On Tue, Oct 20, 2020 at 12:47 PM pdille notifications@github.com wrote:

Saw this on Illah's mac with a scroll wheel. We need to revisit this.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/CMU-CREATE-Lab/data-visualization-tools/issues/38#issuecomment-712996980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPJ434DVZ2RY4KACBYGELSLW5JZANCNFSM4GDO6HKA .