-
Notifications
You must be signed in to change notification settings - Fork 38
Update scale to remove self._scale that conflicts with Blinka #117
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
Using a slightly modified script (attached) which also tests anchored_position and anchor_point, I've verified the code on PyPortal and my SH1107 OLED. |
@lesamouraipourpre Looks like it works fine. (But initially it had me confused with the smaller sized display in the second photo.) Thanks for the testing and for the earlier PR on |
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. Tested with Blinka_Displayio and PyPortal bitmap_label scaling works the same across both now.
Thank you @kmatch98 for handling this one, and @lesamouraipourpre for pointing out the fix to this!
Updating https://github.com/adafruit/Adafruit_CircuitPython_BME680 to 3.3.1 from 3.3.0: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_BME680#40 from caternuson/iss39 > Merge pull request adafruit/Adafruit_CircuitPython_BME680#36 from adafruit/REUSE > Merge pull request adafruit/Adafruit_CircuitPython_BME680#38 from caternuson/iss37_spi_example > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_CLUE to 2.2.7 from 2.2.6: > Merge pull request adafruit/Adafruit_CircuitPython_CLUE#37 from adafruit/REUSE > Hardcoded Black and REUSE versions > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_FONA to 2.1.2 from 2.1.1: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_FONA#12 from adafruit/REUSE > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_HTS221 to 1.1.3 from 1.1.2: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_HTS221#6 from adafruit/REUSE > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_MSA301 to 1.2.5 from 1.2.4: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_MSA301#14 from adafruit/REUSE > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel to 6.0.2 from 6.0.1: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_NeoPixel#103 from adafruit/REUSE > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_RockBlock to 1.3.1 from 1.3.0: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_RockBlock#19 from adafruit/REUSE Updating https://github.com/adafruit/Adafruit_CircuitPython_SCD30 to 2.0.2 from 2.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_SCD30#9 from caternuson/iss2_mcp2221 Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1327 to 1.2.1 from 1.2.0: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_SSD1327#9 from adafruit/REUSE > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7789 to 1.4.3 from 1.4.2: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_ST7789#21 from wildestpixel/patch-1 Updating https://github.com/adafruit/Adafruit_CircuitPython_TCA9548A to 0.3.4 from 0.3.3: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_TCA9548A#23 from SAK917/adafruit/Adafruit_CircuitPython_TCA9548A#20-remove-obsolete-code Updating https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT to 2.0.5 from 2.0.4: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_AWS_IOT#16 from adafruit/REUSE > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_AzureIoT to 2.3.3 from 2.3.2: > Merge pull request adafruit/Adafruit_CircuitPython_AzureIoT#25 from adafruit/REUSE > Hardcoded Black and REUSE versions > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font to 1.3.4 from 1.3.3: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#37 from jfurcean/fix_api_docs Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE_MIDI to 1.0.3 from 1.0.2: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_BLE_MIDI#6 from adafruit/REUSE Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 1.12.3 from 2.12.2: > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#117 from kmatch98/bitmap_label_scale > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#116 from lesamouraipourpre/master Updating https://github.com/adafruit/Adafruit_CircuitPython_Hue to 1.1.3 from 1.1.2: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_Hue#14 from adafruit/REUSE Updating https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad to 0.13.2 from 0.13.1: > Merge pull request adafruit/Adafruit_CircuitPython_ImageLoad#43 from adafruit/REUSE > Hardcoded Black and REUSE versions > Added pre-commit-config file Updating https://github.com/adafruit/Adafruit_CircuitPython_LIFX to 1.9.4 from 1.1.2: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_LIFX#10 from adafruit/REUSE Updating https://github.com/adafruit/Adafruit_CircuitPython_MagTag to 1.6.0 from 1.5.4: > Merge pull request adafruit/Adafruit_CircuitPython_MagTag#54 from makermelissa/main Updating https://github.com/adafruit/Adafruit_CircuitPython_Requests to 1.9.6 from 1.9.5: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_Requests#68 from jfabernathy/master Updating https://github.com/adafruit/Adafruit_CircuitPython_SimpleIO to 3.0.1 from 3.0.0: > Hardcoded Black and REUSE versions > Merge pull request adafruit/Adafruit_CircuitPython_SimpleIO#60 from adafruit/REUSE
Removing usage of
self._scale
in bitmap_label that is causing conflict with Blinka displayio.Group library's internal variable with the same name.I verified the code on a PyPortal and also on Blinka.
This is targeted to resolve this issue on Adafruit_Blinka_Displayio adafruit/Adafruit_Blinka_Displayio#45.
Blinka: Currently released version

Blinka: Version with this PR

Test code with Blinka and
pygamedisplay
: