system/ui/setup: fix WiFi manager UI element overlap issues (#35251)

fix ui overlap issue
pull/35248/head
Dean Lee 2 months ago committed by GitHub
parent e9680a40bf
commit 5babe18184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      system/ui/setup.py

@ -144,6 +144,10 @@ class Setup:
self.network_check_thread.join()
def render_network_setup(self, rect: rl.Rectangle):
if self.wifi_ui.require_full_screen:
self.wifi_ui.render(rect)
return
title_rect = rl.Rectangle(rect.x + MARGIN, rect.y + MARGIN, rect.width - MARGIN * 2, TITLE_FONT_SIZE)
gui_label(title_rect, "Connect to Wi-Fi", TITLE_FONT_SIZE, font_weight=FontWeight.MEDIUM)

Loading…
Cancel
Save