Aminerman / vue-kinesis

Easily create complex interactive animations with Vue.js
https://www.aminerman.com/kinesis/
MIT License
1.47k stars 59 forks source link

Capped / Max Strength Param #11

Closed samuelgoddard closed 4 years ago

samuelgoddard commented 5 years ago

Hey, thanks for the great plugin. I've stumbled across one slight bug, is it possible to pass in a max strength attribute, when i load my page, if my cursor is already over a parallax element (before it's actually rendered), when it finally renders it's all borked due to my cursor placement. It's fine once I move it and it seems to reset itself. It'd be ideal if i could "cap" the strength amount. If not how would you suggest approaching this?

Aminerman commented 4 years ago

Hello! Thank you for mentionning this issue. It has been fixed on the latest release. This problem shouldn't happen anymore and you don't need to cap the strength for that.