From f5c44c9e0081bdf0b1221f2f05ed9aa3fab577d2 Mon Sep 17 00:00:00 2001 From: nickedyer Date: Mon, 20 Feb 2023 00:39:47 -0500 Subject: [PATCH] fix for jumping dial --- thermopi/surfaces/dial.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thermopi/surfaces/dial.py b/thermopi/surfaces/dial.py index af5ec0b..e6b3c30 100644 --- a/thermopi/surfaces/dial.py +++ b/thermopi/surfaces/dial.py @@ -87,6 +87,7 @@ class Surface(pygame.Surface): self.quit = True if event.type == pygame.MOUSEBUTTONDOWN: self.mouse_handler.active = True + self.mouse_handler.update() self.mouse_handler.prev_mouse_pos = self.mouse_handler.mouse_pos if event.type == pygame.MOUSEBUTTONUP: self.mouse_handler.active = False