pull/35051/head
Cameron Clough 4 days ago
parent a1f1d32e18
commit 703fcb6378
  1. 2
      system/ui/text.py

@ -21,7 +21,7 @@ def wrap_text(text, font_size, max_width):
for paragraph in text.split("\n"):
if not paragraph.strip():
# Don't add an empty line to the start of the list, ensuring wrap_text("") returns []
# Don't add empty lines first, ensuring wrap_text("") returns []
if lines:
lines.append("")
continue

Loading…
Cancel
Save