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

This commit is contained in:
Nicholas Dyer 2023-02-19 20:52:51 -05:00
parent 8e72231332
commit 6602594267
No known key found for this signature in database
GPG Key ID: E4E6388793FA2105

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