Skip to content

Commit 11b6fcb

Browse files
author
Margaret Matocha
committed
ran black
1 parent c9309da commit 11b6fcb

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

adafruit_display_text/label.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,14 +351,8 @@ def anchored_position(self):
351351
"""Position relative to the anchor_point. Tuple containing x,y
352352
pixel coordinates."""
353353
return (
354-
int(
355-
self.x
356-
+ self._anchor_point[0] * self._boundingbox[2]
357-
),
358-
int(
359-
self.y
360-
+ self._anchor_point[1] * self._boundingbox[3]
361-
),
354+
int(self.x + self._anchor_point[0] * self._boundingbox[2]),
355+
int(self.y + self._anchor_point[1] * self._boundingbox[3]),
362356
)
363357

364358
@anchored_position.setter

0 commit comments

Comments
 (0)