mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
@@ -38,7 +38,7 @@ class Spinner(Widget):
|
||||
self._progress = None
|
||||
self._wrapped_lines = wrap_text(text, FONT_SIZE, gui_app.width - MARGIN_H)
|
||||
|
||||
def render(self, _: rl.Rectangle):
|
||||
def render(self, _: rl.Rectangle = None):
|
||||
if self._wrapped_lines:
|
||||
# Calculate total height required for spinner and text
|
||||
spacing = 50
|
||||
|
||||
Reference in New Issue
Block a user