Skip to content

Commit

Permalink
Merge pull request #209 from snkYmkrct/main
Browse files Browse the repository at this point in the history
Fix for background_tight property not working
  • Loading branch information
FoamyGuy authored Oct 2, 2024
2 parents 5353178 + 04339b9 commit a018654
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions adafruit_display_text/bitmap_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ def _reset_text(
if self._background_tight:
box_y = tight_box_y
y_offset = tight_y_offset
self._padding_left = 0
self._padding_right = 0
self._padding_top = 0
self._padding_bottom = 0

else: # calculate the box size for a loose background
box_y = loose_box_y
Expand Down

0 comments on commit a018654

Please sign in to comment.