Skip to content

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

Open
bluedeep wants to merge 1 commit intoalvises:masterfrom
bluedeep:master
Open

Fix colors error when set popover.tint = FPPopoverWhiteTint;#95
bluedeep wants to merge 1 commit intoalvises:masterfrom
bluedeep:master

Conversation

@bluedeep
Copy link

Fix colors error when set popover.tint = FPPopoverWhiteTint;

@eventomer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants