adafruit / Adafruit_CircuitPython_Display_Button

Press it!
MIT License
4 stars 17 forks source link

Update to fill/outline color check #11

Closed jpecor closed 5 years ago

jpecor commented 5 years ago

The current code doesn't draw the button if both fill and outline are 0x000000 (black). With the proposed change, if either the outline or the fill have been assigned any value, the check will pass. If fill and outline are both None, nothing will be drawn.