softwaretailoring / wheelnav

Animated wheel navigation JavaScript library based on Raphaël.js (SVG/VML). It can be a pie menu (radial menu, circular menu) and many more.
https://wheelnavjs.softwaretailoring.net
MIT License
702 stars 101 forks source link

PieSlice can't move single slice and replicate documentation example #41

Closed bachras closed 7 years ago

bachras commented 7 years ago

Thank you for great plugin. I can't replicate example from http://wheelnavjs.softwaretailoring.net/documentation/sliceTransform.html .I would like to move single selected slice. Could you assist me with this? Thanks in advance.

softwaretailoring commented 7 years ago

Hi @bachras Did you try this?

wheel.sliceSelectedTransformFunction = sliceTransform().MoveMiddleTransform;

Thanks for your feedback, I've added a link to http://wheelnavjs.softwaretailoring.net/documentation/sliceTransform.html

bachras commented 7 years ago

Thank you for prompt reply. I have tried sliceTransformFunction, but not sliceSelectedTransformFunction. It worked like a charm.