From 833b37881a16d8a47da3ee72f4ec06f89bae6dc8 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 18 Jul 2013 16:31:29 +0800 Subject: [PATCH] fix bug when tint=FPPopoverWhiteTint --- FPPopoverView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FPPopoverView.m b/FPPopoverView.m index f3bf62e..10fc166 100644 --- a/FPPopoverView.m +++ b/FPPopoverView.m @@ -338,7 +338,7 @@ -(CGGradientRef)newGradient else if(self.tint == FPPopoverWhiteTint) { colors[0] = colors[1] = colors[2] = 1.0; - colors[0] = colors[1] = colors[2] = 1.0; + colors[4] = colors[5] = colors[6] = 1.0; colors[3] = colors[7] = 1.0; }