From f7dd436b81a3c60857a4217a6b36b8bfbbb3e8df Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Mon, 27 Oct 2008 01:20:23 -0700 Subject: [PATCH] Stop flash of scrollers when autohidden. Reviewed by me. --- AppKit/CPScrollView.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPScrollView.j b/AppKit/CPScrollView.j index c0710de4d..729ee16a8 100644 --- a/AppKit/CPScrollView.j +++ b/AppKit/CPScrollView.j @@ -364,7 +364,12 @@ */ - (void)setAutohidesScrollers:(BOOL)autohidesScrollers { + if (_autohidesScrollers == autohidesScrollers) + return; + _autohidesScrollers = autohidesScrollers; + + [self reflectScrolledClipView:_contentView]; } /*!