-
Notifications
You must be signed in to change notification settings - Fork 38
bitmap_label
: Make text, line_spacing and scale mutable
#90
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
Conversation
…_scale, some performance speedups by deleting duplication in bounding box calculations
The new display_text library Mutability of the
|
Here is the text code that I used to evaluate the mutability of
|
Here is my latest test code for these two updates:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions but nothing major. The local group is fine as a way to control scale.
…it, add back kwargs passing to self Group instance
@tannewt Thanks for the detailed code review and the helpful suggestions. I think I responded correctly to all your comments with a new commit. Also, please note that I updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested the latest version of changes out with a Minitft Featherwing and Feather Sense, using several bitmap labels that change text and scale. No issues to report.
Code looks good to me as well. Thanks for working on these enhancements @kmatch98.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thank you!
Updating https://github.com/adafruit/Adafruit_CircuitPython_MCP230xx to 2.4.1 from 2.4.0: > Merge pull request adafruit/Adafruit_CircuitPython_MCP230xx#33 from jepler/remove-bad-whitespace-directive Updating https://github.com/adafruit/Adafruit_CircuitPython_MS8607 to 1.0.2 from 1.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_MS8607#2 from adafruit/dependency Updating https://github.com/adafruit/Adafruit_CircuitPython_PyPortal to 3.3.1 from 3.3.0: > Merge pull request adafruit/Adafruit_CircuitPython_PyPortal#84 from makermelissa/master Updating https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font to 1.2.2 from 1.2.0: > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#29 from adafruit/tannewt-patch-1 > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#28 from ronfischler/set-changed-during-iteration-fix Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 2.9.0 from 2.8.3: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#90 from kmatch98/bitmap_mutable Updating https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad to 0.11.7 from 0.11.6: > Merge pull request adafruit/Adafruit_CircuitPython_ImageLoad#38 from tannewt/run_tests Updating https://github.com/adafruit/Adafruit_CircuitPython_Motor to 3.2.3 from 3.2.2: > Merge pull request adafruit/Adafruit_CircuitPython_Motor#47 from tannewt/run_tests
bitmap_label
updatesThis update makes
text
,line_spacing
andscale
mutable.Other changes:
bitmap.blit
on CircuitPython builds where the function is available, but will default back to Python blit when not availableOther details on the changes are in a separate post below.