The first part is pretty self-explanatory.
The second part fixes #39. We had this same problem with Chameleon... When the layer-backed view is removed from its window, its view-backing layer removes all its sublayers. So when the view gets moved back to a window, we need to re-add rootView's layer to our view-backing layer. Kinda gross side affect of layer-backed views.
Merge remote-tracking branch 'upstream/master'
use the scroll view's contentInset
Merge remote-tracking branch 'upstream/master' into dev
re-add the rootView's layer after the view's added to a window - fixes …
Awesome, but your pull requests have been looking weird on this end.
Could you submit 1987cab, 704c3e3 and e62e735 without the others?
Excellent, 1987cab fixes #39 for me.