Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zoom does'nt work with alt key #700

Closed
flyinva opened this issue Nov 10, 2013 · 8 comments
Closed

zoom does'nt work with alt key #700

flyinva opened this issue Nov 10, 2013 · 8 comments

Comments

@flyinva
Copy link

flyinva commented Nov 10, 2013

Tested with chromium 30.0.1599.10 and firefox 27.0a2 :+1 on debian:

I had to replace alt key by shift in zoom.js because event.altKey return always false. With alt key pressed, mousedown event doesn't seem to be triggered.

@hakimel
Copy link
Owner

hakimel commented Nov 17, 2013

This works in OS X at least, event.altKey always returning false even it's pressed sounds like an issue outside of reveal.js.

@hakimel hakimel closed this as completed Nov 17, 2013
@vitorbaptista
Copy link

I have the same problem on Ubuntu 13.04 :/

@hadim
Copy link

hadim commented Nov 21, 2013

same here on Ubuntu. You should let the user configure if he wants to use alt or shift key. Modifying zoom.js does not seems the right solution to me.

@flyinva
Copy link
Author

flyinva commented Nov 21, 2013

is it possible to add a new config value like zoomKey ?

@gbc921
Copy link

gbc921 commented Nov 26, 2013

In Latest Cinnamon the default key for moving windows is the Alt. So Cinnamon always takes place first.

Though is possible to change the key by
CinnamonMenu -> Windows -> Modifier to use for midified window click actions
having a config value to zoomKey would be great!

hakimel added a commit that referenced this issue Nov 26, 2013
@hakimel
Copy link
Owner

hakimel commented Nov 26, 2013

Added a config value for this, example:

Reveal.initialize({
   ...
   zoomKey: 'shift'
})

enovajuan pushed a commit to enovajuan/reveal.js that referenced this issue Dec 2, 2014
@reagle
Copy link

reagle commented Jan 11, 2018

It would be good if zoomKey was documented. I'd like this to be supported by pandoc.

@reagle
Copy link

reagle commented Jan 8, 2019

FYI: jgm/pandoc#4249 adds configuration for this. It'd still be nice if this was documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants