mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
PrimeWidget: redeclaring __init__ unneeded
for https://github.com/commaai/openpilot/pull/35496
This commit is contained in:
@@ -12,9 +12,6 @@ class PrimeWidget(Widget):
|
||||
|
||||
PRIME_BG_COLOR = rl.Color(51, 51, 51, 255)
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
def _render(self, rect):
|
||||
if ui_state.prime_state.is_prime():
|
||||
self._render_for_prime_user(rect)
|
||||
|
||||
Reference in New Issue
Block a user