Open nickygerritsen opened 10 years ago
+1
+2 22 aug 2013 kl. 10:46 skrev bm-i notifications@github.com:
+1
— Reply to this email directly or view it on GitHub.
Yes, I met this problem. Any idea? I don't know where draw the paths
Can any one update it? Just remove duration > 0?
I'm not sure if it is linked to issue #44, but I have found another bug: when rotating the device when the segmented control is not visible (i.e. in another view controller) and then returning to the view controller again, the paths aren't drawn correctly.
To reproduce:
Create an empty iOS application, add SDSegmentedControl and use this as the application: didFinishLaunchingWithOptions:
Now start the application. The following scenario works as expected:
But the following does not work as expected:
In this second case, the paths that are drawn only occupy the 320 points of the portrait mode.
I already found that it goes wrong in the function that draws the paths and only when the duration > 0. But then I got stuck trying to fix it...