this is a good comment?

pull/35051/head
Cameron Clough 4 days ago
parent 46fa6167fd
commit a1f1d32e18
  1. 1
      system/ui/text.py

@ -21,6 +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 []
if lines:
lines.append("")
continue

Loading…
Cancel
Save