josephernest / bigpicture.js

bigpicture.js is a Javascript library that allows infinite panning and infinite zooming in HTML pages.
https://josephernest.github.io/bigpicture.js/index.html
MIT License
809 stars 58 forks source link

demo: Ctrl+click/double click incompatible with Safari (OS X) #15

Closed davidmarkclements closed 9 years ago

davidmarkclements commented 9 years ago

ctrl+click on safari opens a context menu, which makes zooming out via double click impossible

josephernest commented 9 years ago

I don't have a Mac to do some tests here, what solution would you suggest @davidmarkclements ?

davidmarkclements commented 9 years ago

Use alt instead (as long as that has no implications on Windows/Linux)

Otherwise, detect Mac, and use Cmd for Mac, Ctrl for others

josephernest commented 9 years ago

Ok @davidmarkclements. I added CMD + double click for Mac. Can you test if it works?

davidmarkclements commented 9 years ago

yep confirmed :)

nice. (just need to update text)

davidmarkclements commented 9 years ago

yup