Revert "Revert "CPScrollView-scrollerStyle-fix""

This reverts commit f25d76d0d6.
This commit is contained in:
Didier Korthoudt
2018-05-29 12:19:03 +02:00
parent f25d76d0d6
commit 653fdb999e
-3
View File
@@ -1290,9 +1290,6 @@ 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