Revert "CPScrollView-scrollerStyle-fix"

This reverts commit 31fe918b3d.
This commit is contained in:
Didier Korthoudt
2018-05-29 12:16:36 +02:00
parent 41b0f80360
commit f25d76d0d6
+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