zarocknz/javascript-winwheel

Image offset

danielgroen opened this issue · 1 comments

This is more a feature request, to add in the default options the following:
defaultOptions = { 'imageOffset': 0 }

Then change rule number 515 from:
let centerY = (this.centerY * this.scaleFactor);
to:
let centerY = (this.centerY * this.scaleFactor) + imageOffset;

This may be usefull for when people use small icons as images which i have.
I now monkeypatched it myself but i think it would be a nice feature :-)!

Due to inactivity i'll close this ticket :(