-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
Description
Hi!
This is a great plugin.
I'm curious if there is a way to change the spacing, I want to make the spacing less between the 3 items in front.
Tried something like this in this.render, but that gives a stutter:
var item = this.renderItem( i, radians ); if(i === (nearest - 1) || (nearest === 0 && i === (count - 1))) { var item = this.renderItem( i, radians + 0.2 ); } else if(i === (nearest + 1) || (nearest === count - 1 && i === 0)) { var item = this.renderItem( i, radians - 0.2 ); } else { var item = this.renderItem( i, radians ); }
After I change the radians I think I need to change it back after, to prevent the weird transition.
Maybe you know a solution!