Skip to content

Commit

Permalink
Fix for background_tight property not working
Browse files Browse the repository at this point in the history
  • Loading branch information
snkYmkrct authored Oct 1, 2024
1 parent 5353178 commit 04339b9
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 04339b9

Please sign in to comment.