CPScrollView-scrollerStyle-fix

This commit is contained in:
Didier Korthoudt committed 2018-05-23 23:58:48 +02:00
1 parent 32495792dc
commit 31fe918b3d
1 file changed
-3
-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