We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d604e6 + 636860b commit 608833aCopy full SHA for 608833a
adafruit_display_text/__init__.py
@@ -428,12 +428,12 @@ def bounding_box(self) -> Tuple[int, int]:
428
@property
429
def height(self) -> int:
430
"""The height of the label determined from the bounding box."""
431
- return self._bounding_box[3] - self._bounding_box[1]
+ return self._bounding_box[3]
432
433
434
def width(self) -> int:
435
"""The width of the label determined from the bounding box."""
436
- return self._bounding_box[2] - self._bounding_box[0]
+ return self._bounding_box[2]
437
438
439
def line_spacing(self) -> float:
0 commit comments