Skip to content

Commit

Permalink
Merge pull request #194 from FoamyGuy/fix_negative_value_error
Browse files Browse the repository at this point in the history
clamp x value to positive
  • Loading branch information
makermelissa committed Oct 26, 2023
2 parents 86dbb4a + cbc5f7b commit f641e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_display_text/bitmap_label.py
Expand Up @@ -441,7 +441,7 @@ def _place_text(

self._blit(
bitmap,
xposition + my_glyph.dx,
max(xposition + my_glyph.dx, 0),
y_blit_target,
my_glyph.bitmap,
x_1=glyph_offset_x,
Expand Down

0 comments on commit f641e50

Please sign in to comment.