Open bluedeep opened 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
Fix colors error when set popover.tint = FPPopoverWhiteTint;