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
901 stars 250 forks source link

problem with arrow color #116

Open phucnd0604 opened 9 years ago

phucnd0604 commented 9 years ago

when i use: popover.tint = FPPopoverWhiteTint; if arrow direction is up the color of arrow always black, not change to white like other arrow direction. Please help!

petr-fiala commented 9 years ago

i have the same problem...

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; }

there is a mistake in indexes, second line should be colors[4] = colors[5] = colors[6] = 1.0;