raylib: fix DMoji (#36301)

* wow first time cursor made a tiny change to fix a problem!

* rm
pull/36267/merge
Shane Smiskol 1 week ago committed by GitHub
parent f04ee80452
commit 4ff77a4752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/ui/onroad/driver_state.py

@ -222,7 +222,7 @@ class DriverStateRenderer(Widget):
radius_y = arc_data.height / 2
x_coords = center_x + np.cos(angles) * radius_x
y_coords = center_y + np.sin(angles) * radius_y
y_coords = center_y - np.sin(angles) * radius_y
arc_lines = self.h_arc_lines if is_horizontal else self.v_arc_lines
for i, (x_coord, y_coord) in enumerate(zip(x_coords, y_coords, strict=True)):

Loading…
Cancel
Save