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

Add mobileViewDistance config key #2513

Merged
merged 1 commit into from
Dec 9, 2019

Conversation

TuurDutoit
Copy link
Contributor

We use Reveal.js in a project where we only ever want to show 1 slide at a time, so we set viewDistance: 1. On mobile devices however, this setting is overriden to viewDistance: 2 which breaks our application.
This PR adds a mobileViewDistance key which defaults to 2, as it was before, but can now be configured at will.

@hakimel hakimel merged commit 1515ddc into hakimel:dev Dec 9, 2019
@hakimel
Copy link
Owner

hakimel commented Dec 9, 2019

Looks great, thanks!

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

Successfully merging this pull request may close these issues.

3 participants