johankasperi/SwiftHSVColorPicker

Funky graphical issues with certain frame sizes

Opened this issue · 0 comments

I'm dynamically setting the frame of the color picker based on the view controller's view size, to optimize for landscape vs portrait. Some frame sizes result in this funky graphical issue pictured below. I'm seeing setting the color picker frame height to 256 results in this issue, whereas 257 causes it to display correctly. Any ideas why or how to fix it?
simulator screen shot mar 18 2017 7 26 58 pm