honcheng/PaperFold-for-iOS — pull request #60 by jasperblues (2013-06-25 13:26:24+00:00)
Title: enabledDragging was being ignored when returning to previous state. .

Hello,

Modification1:

* vertical pan handler -> enable top/bottom view drag was being ignored when return to the default stage.
* horizontal pan handler -> enable left/right view drag was being ignored when return to the default stage

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?