From 51e6ee02c7f4ef47183b203dee54b6c2054796d6 Mon Sep 17 00:00:00 2001 From: bluedeep Date: Tue, 14 Jan 2014 10:24:54 +0800 Subject: [PATCH] Fix colors error when set popover.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; }