fixed bug where dial would jump when touching different parts after turning

This commit is contained in:
2023-02-19 20:52:51 -05:00
parent 8e72231332
commit 6602594267

View File

@@ -79,6 +79,7 @@ def main(windowed_mode):
running = False
if event.type == pygame.MOUSEBUTTONDOWN:
get_mouse_speed = True
prev_mouse_pos = mouse_pos
if event.type == pygame.MOUSEBUTTONUP:
get_mouse_speed = False