Closed marcaudefroy closed 11 years ago
Hi Marc,
why did you add:
if(self.progressCounter == 0){ endAngle = originAngle + 2*M_PI; }else{
from a first look it seems redundant to me because if progressCounter is 0 endAngle ends up being equal to originAngle which I think is fine.
As for the version, I'm not following semantic versioning, but thanks for the reminder. That said, after these changes are in I'll consider bumping up to 1.0.0.
Hi,
No, it isn't redundant because originAngle isn't equals to endAngle : there are an angle of 360 degrees. Before, there was an angle of 0 degrees. Do you understand? :)
Hi Marc,
thanks for your contribution.I merged it but I removed that code I was talking about in a previous comment since after testing it seems to have no effect. If you still think it is required, show me a case.
Marco
Hi Marcus :
Test with sliceDividerHidden = YES. Moreover, I'm sorry but i'm not fixed entirely the bug. (test with clockwise = YES ) I create a new pull request to correct this.
I tested with all possible combinations of sliceDividerHidden and clockwise:
startingSlice = 5; progressTotal = 10; progressCounter = 4;
The picture is correct in any case.
And with progressCounter = 0 :D
crap, didn't try that...
Hi Marcus,
I fixed bugs for :
Warning : The version is 0.3.0 but you renamed a public property. (http://semver.org)