fix for jumping dial

This commit is contained in:
Nicholas Dyer 2023-02-20 00:39:47 -05:00
parent eb59c63a60
commit f5c44c9e00
No known key found for this signature in database
GPG Key ID: E4E6388793FA2105

View File

@ -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