Revert "Revert "Revert "CPScrollView-scrollerStyle-fix"""

This reverts commit 653fdb999e.
This commit is contained in:
Didier Korthoudt committed 2018-06-02 22:08:59 +02:00
1 parent 653fdb999e
commit f5ca6c39f6
1 file changed
+3
+3
View File
@@ -1290,6 +1290,9 @@ Notifies the delegate when the scroll view has finished scrolling.
if (_isObserving)
return;
//Make sure to have the last global style for the scroller
[self _didReceiveDefaultStyleChange:nil];
[[CPNotificationCenter defaultCenter] addObserver:self
selector:@selector(_didReceiveDefaultStyleChange:)
name:CPScrollerStyleGlobalChangeNotification