jquery.path icon indicating copy to clipboard operation
jquery.path copied to clipboard

360 loop using Arc

Open nebuil opened this issue 13 years ago • 1 comments

I have tried to go from degree 0 to 360, or from 0 to 0, using dir: -1 and it doesn't work, and same issue trying to go from degree 360 to 0, or from 0 to 0, using dir: 1. I have solved it just modifying following lines, adding equal (=) to the comparisons:

while ( this.start >= this.end && this.dir > 0 ) {
  this.start -= 360;
}

while ( this.start <= this.end && this.dir < 0 ) {
  this.start += 360;
}

nebuil avatar Sep 10 '12 16:09 nebuil

can you make this into a pull request ?

weepy avatar May 07 '16 22:05 weepy