mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
fix flashScrollers doesn't work
This commit is contained in:
1 parent
210bb3e5c9
commit
2742e3d77b
1 file changed
+8
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user