honcheng / PaperFold-for-iOS

Paper folding animation for iOS
Other
2.7k stars 399 forks source link

enabledDragging was being ignored when returning to previous state. . #60

Closed jasperblues closed 11 years ago

jasperblues commented 11 years ago

Hello,

Modification1:

Test case:

  1. Disable enable to drag
  2. Set state to open a view, with the frame of the center view still partially revealed.
  3. On the center view, drag to return

Expected Outcome:

Can not drag

Actual Outcome:

Dragging still works.

Modification 2:

I added a property to set the timer step for animations. . this controls the speed. . Perhaps it would be better to control the actual step amount, but this works for the values I wanted. . What do you think?

** Not in this pull request *

Finally, we had another problem were out GestureRecognizers were broken after installing paper-fold. . . We fixed it, by simply disabling these. . . It would be good if we could stay in synch with the main branch. . . would you accept a pull request for this. . . perhaps simply disabling gesture recognizers or another solution?

honcheng commented 11 years ago

Thanks