fix: draw_rectangle parameter - x,y,w,h,color (not Rect+color)

This commit is contained in:
mawei
2026-06-28 17:14:23 +08:00
parent ed12d0054d
commit ea9997bd1d
+1 -1
View File
@@ -61,7 +61,7 @@ class SetupWidget(Widget):
# === Separator ===
sep_y = y_center + 5
sep_w = 280
rl.draw_rectangle(rl.Rectangle(int(x_center - sep_w / 2), int(sep_y), sep_w, 2), SEPARATOR)
rl.draw_rectangle(int(x_center - sep_w / 2), int(sep_y), sep_w, 2, SEPARATOR)
# === Bottom section: safety notice ===
warn = tr("这不是自动驾驶,请注意行车安全")