diff --git a/adafruit_matrixportal/matrixportal.py b/adafruit_matrixportal/matrixportal.py index 12b48f8..9daa217 100755 --- a/adafruit_matrixportal/matrixportal.py +++ b/adafruit_matrixportal/matrixportal.py @@ -179,7 +179,11 @@ def add_text( text_scale = 1 text_scale = round(text_scale) if scrolling: - text_position = (self.display.width, text_position[1]) + if text_position is None: + # Center text if position not specified + text_position = (self.display.width, self.display.height // 2 - 1) + else: + text_position = (self.display.width, text_position[1]) gc.collect()