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

How to lower resistance between slides? #44

Closed
samyoungnyc opened this issue Feb 28, 2017 · 8 comments
Closed

How to lower resistance between slides? #44

samyoungnyc opened this issue Feb 28, 2017 · 8 comments
Assignees
Milestone

Comments

@samyoungnyc
Copy link

Great library - I was wondering if there's a place in the code to lower the resistance between the slides? I've taken a look but couldn't find a place where this setting could be customized.

@Antonio-Laguna
Copy link
Member

Hey @samyoungnyc it's not possible at the moment in a clean way (that is, passing an option). However we're thinking on ways to better configure plugins.

In the meantime, you can change this variable. If you provide a lower number, the resistance will be less.

@samyoungnyc
Copy link
Author

Thanks for the tip - however I don't see any place in that file where there's a number assigned to that variable. I see MouseEvent on ln. 888 & ln. 1264 - is the value set elsewhere?

Thanks

@Antonio-Laguna
Copy link
Member

@samyoungnyc
Copy link
Author

Thanks I'll try that out

@samyoungnyc
Copy link
Author

samyoungnyc commented Mar 1, 2017

Hi - I'm a bit confused again - the version of webslides.js that I'm linking my HTML too has only 497loc - it starts like this:

/*==================================================================
Name: WebSlides
Version: 0.1.1 (trackpad gestures and keyboard shortcuts).
Date: 2017-02-11
Description: HTML presentations made easy.
URL: https://github.com/jlantunez/WebSlides
Thanks @luissacristan for your help :)

Based on SimpleSlides, by Jenn Schiffer:
https://github.com/jennschiffer/SimpleSlides
==================================================================== */

Should I replace that file with the file you linked to?

@Antonio-Laguna
Copy link
Member

Hey. Yes! We've updated WebSlides quite a lot fixing some bugs and allowing for new behaviour. You can check that out on our Releases: https://github.com/jlantunez/webslides/releases

Note that there's a link to download all the demos and the .js with each recent release (from 1.0.0 onwards).

Please let me know if you do find any issues.

Antonio-Laguna added a commit that referenced this issue Mar 2, 2017
@Antonio-Laguna Antonio-Laguna self-assigned this Mar 2, 2017
@Antonio-Laguna
Copy link
Member

This has now been fixed on 1.2.0

@samyoungnyc
Copy link
Author

Thanks it worked

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

2 participants