Skip to content

Update to fill/outline color check #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 13, 2019
Merged

Conversation

jpecor
Copy link

@jpecor jpecor commented Aug 13, 2019

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.

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.
@ladyada ladyada requested a review from makermelissa August 13, 2019 03:25
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an extra space, otherwise it looks good.

Removed extra spaces on line 114
Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@makermelissa makermelissa merged commit 99f81b1 into adafruit:master Aug 13, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 14, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_ILI9341 to 1.0.5 from 1.0.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_ILI9341#12 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1351 to 1.1.0 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1351#6 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1351#5 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Button to 1.1.3 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Button#11 from jpecor/patch-1
  > Fixed typo in rtd path
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