QuadFlask / colorpicker

🍭color picker for android
1.22k stars 219 forks source link

Update color wheel bitmap size in case view size changes #118

Closed koma999 closed 4 years ago

koma999 commented 4 years ago

If color picker view size changes the color wheel gets redrawn. But existing logic does not update color wheel bitmap size for new available view size, resulting in the same bitmap being drawn. When the bitmap gets drawn on screen it does not match the available view space, it either is too small or parts are cut off...

Code update recreates the bitmap with the actual view size dimensions.