From 2742e3d77b07dae141e65b544d882ea577b86bbd Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Tue, 25 Oct 2011 12:11:11 +0200 Subject: [PATCH] fix flashScrollers doesn't work --- AppKit/CPScrollView.j | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/AppKit/CPScrollView.j b/AppKit/CPScrollView.j index aee3597c3..ce9e0ce3c 100644 --- a/AppKit/CPScrollView.j +++ b/AppKit/CPScrollView.j @@ -1053,13 +1053,20 @@ var TIMER_INTERVAL = 0.2, */ - (void)flashScrollers { - if (_scrollerStyle == CPScrollerStyleLegacy) + if (_scrollerStyle === CPScrollerStyleLegacy) return; if (_hasHorizontalScroller) + { + [_horizontalScroller setHidden:NO]; [_horizontalScroller fadeIn]; + } + if (_hasVerticalScroller) + { + [_verticalScroller setHidden:NO]; [_verticalScroller fadeIn]; + } if (_timerScrollersHide) [_timerScrollersHide invalidate]