From a9bfcb13881939c2399558ec69d49e651fb644d4 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Fri, 18 Apr 2025 01:19:48 +0100 Subject: [PATCH] revert --- system/ui/text.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/system/ui/text.py b/system/ui/text.py index 4dc888af71..5ccbcea007 100755 --- a/system/ui/text.py +++ b/system/ui/text.py @@ -12,14 +12,8 @@ FONT_SIZE = 72 LINE_HEIGHT = 80 BUTTON_SIZE = rl.Vector2(310, 160) -DEMO_TEXT = """Traceback (most recent call last): - File "./controlsd.py", line 608, in - main() - File "./controlsd.py", line 604, in main - controlsd_thread(sm, pm, logcan) - File "./controlsd.py", line 455, in controlsd_thread - 1/0 -ZeroDivisionError: division by zero""" +DEMO_TEXT = """This is a sample text that will be wrapped and scrolled if necessary. + The text is long enough to demonstrate scrolling and word wrapping.""" * 30 def wrap_text(text, font_size, max_width): lines = []