fixed bug where dial would jump when touching different parts after turning
This commit is contained in:
parent
8e72231332
commit
6602594267
@ -79,6 +79,7 @@ def main(windowed_mode):
|
|||||||
running = False
|
running = False
|
||||||
if event.type == pygame.MOUSEBUTTONDOWN:
|
if event.type == pygame.MOUSEBUTTONDOWN:
|
||||||
get_mouse_speed = True
|
get_mouse_speed = True
|
||||||
|
prev_mouse_pos = mouse_pos
|
||||||
if event.type == pygame.MOUSEBUTTONUP:
|
if event.type == pygame.MOUSEBUTTONUP:
|
||||||
get_mouse_speed = False
|
get_mouse_speed = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user