micku7zu/vanilla-tilt.js

Disabling gyroscope with data attribute

liquidvisual opened this issue · 4 comments

I love the new gyroscope features, thanks for those. Unfortunately it doesn't play well with some of my stuff so I want to disable it easily. I tried this but it didn't work:

data-tilt-gyroscope="false"

Sorry for that. Fixed it b0cc942.
Published version 1.6.1 everywhere.

Legend! Thanks

I updated the library to 1.7.0. @liquidvisual maybe the gyroscope works better now with the gyroscope sampling. Give it a try 👍

@micku7zu Great, thanks for that! I'll take it for a spin