Skip to content

Fix anchor point, anchored_position and scale #109

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 6 commits into from
Jan 17, 2021

Conversation

kmatch98
Copy link
Contributor

This is to resolve issue #108 where there was an bug for setting anchor_point and anchored_position.

Main issue was use of getter/setter versus local variable, and sequence of setting any changes to the scale.

@FoamyGuy
Copy link
Contributor

I think your local repo is behind adafruit master atm. So when this branch got started it's missing some of the newest commits from master.

I think I can merge master into this branch and push it here so get it fixed, I'll give that a try.

# Conflicts:
#	adafruit_display_text/bitmap_label.py
@FoamyGuy
Copy link
Contributor

I think that is resolved now. I'll test this out in a bit.

Thanks for working on this!

Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

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

Tested successfully with the "comparison" script in the examples directory, as well as modified bitmap_label_simpletest.

Looks good to me. Thanks again!

@kmatch98
Copy link
Contributor Author

Thanks @FoamyGuy!

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 18, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font to 1.3.3 from 1.3.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_Bitmap_Font#36 from FoamyGuy/change_font
  > Added pre-commit-config file
  > Added pre-commit and SPDX copyright

Updating https://github.com/adafruit/Adafruit_CircuitPython_Display_Text to 2.11.2 from 2.11.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#109 from kmatch98/fix_anchor_point
  > Merge pull request adafruit/Adafruit_CircuitPython_Display_Text#107 from FoamyGuy/change_font
  > Added pre-commit-config file
  > Added pre-commit and SPDX copyright
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