From 68c7f6943915c4c7276d6ad0dd2a8864d5aee3d2 Mon Sep 17 00:00:00 2001 From: nayan Date: Thu, 20 Nov 2025 22:18:04 -0500 Subject: [PATCH] AAARGGGGGG..... --- system/ui/sunnypilot/widgets/option_control.py | 1 - 1 file changed, 1 deletion(-) diff --git a/system/ui/sunnypilot/widgets/option_control.py b/system/ui/sunnypilot/widgets/option_control.py index f281f843a2..bbe95dde62 100644 --- a/system/ui/sunnypilot/widgets/option_control.py +++ b/system/ui/sunnypilot/widgets/option_control.py @@ -166,7 +166,6 @@ class OptionControlSP(ItemAction): rl.draw_text_ex(self._font, text, rl.Vector2(text_x, text_y), VALUE_FONT_SIZE, 0, text_color) def _handle_mouse_release(self, mouse_pos: MousePos): - value_changed = False if self._minus_enabled and rl.check_collision_point_rec(mouse_pos, self.minus_btn_rect): self.current_value -= self.value_change_step self.current_value = max(self.min_value, self.current_value)