alvises / FPPopover

FPPopover provides an alternative to the native iOS UIPopoverController, adding support for iPhone and additional opportunities to customize the look and feel of the popovers.
http://www.poeticoding.com/fppopover-a-customizable-uipopovercontroller-for-iphone-and-ipad/
Other
902 stars 250 forks source link

Fix colors error when set popover.tint = FPPopoverWhiteTint; #95

Open bluedeep opened 10 years ago

bluedeep commented 10 years ago

Fix colors error when set popover.tint = FPPopoverWhiteTint;

eventomer commented 10 years ago
else if(self.tint == FPPopoverWhiteTint)
{
    colors[0] = colors[1] = colors[2] = 1.0;
    colors[3] = colors[4] = colors[5] = 1.0;
    colors[6] = colors[7] = 1.0;
}

instead of

else if(self.tint == FPPopoverWhiteTint)
{
    colors[0] = colors[1] = colors[2] = 1.0;
    colors[0] = colors[1] = colors[2] = 1.0;
    colors[3] = colors[7] = 1.0;
}

in newGradient: method of FPPopoverView