From f25d76d0d668cfb27608d5018cbd7cb26d28c604 Mon Sep 17 00:00:00 2001 From: Didier Korthoudt Date: Tue, 29 May 2018 12:16:36 +0200 Subject: [PATCH] Revert "CPScrollView-scrollerStyle-fix" This reverts commit 31fe918b3d3b230c2bd8671bd93cccb064785470. --- AppKit/CPScrollView.j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AppKit/CPScrollView.j b/AppKit/CPScrollView.j index df022061c..c59178b2f 100644 --- a/AppKit/CPScrollView.j +++ b/AppKit/CPScrollView.j @@ -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