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.
1 parent 42579f8 commit ff4be27Copy full SHA for ff4be27
adafruit_display_text/label.py
@@ -385,7 +385,10 @@ def anchored_position(self):
385
if self._anchor_point is None:
386
return None
387
return (
388
- int(self.x + round(self._anchor_point[0] * self._boundingbox[2] * self._scale)),
+ int(
389
+ self.x
390
+ + round(self._anchor_point[0] * self._boundingbox[2] * self._scale)
391
+ ),
392
int(
393
self.y
394
+ (self._anchor_point[1] * self._boundingbox[3] * self._scale)
0 commit comments