fix for jumping dial
This commit is contained in:
parent
eb59c63a60
commit
f5c44c9e00
@ -87,6 +87,7 @@ class Surface(pygame.Surface):
|
|||||||
self.quit = True
|
self.quit = True
|
||||||
if event.type == pygame.MOUSEBUTTONDOWN:
|
if event.type == pygame.MOUSEBUTTONDOWN:
|
||||||
self.mouse_handler.active = True
|
self.mouse_handler.active = True
|
||||||
|
self.mouse_handler.update()
|
||||||
self.mouse_handler.prev_mouse_pos = self.mouse_handler.mouse_pos
|
self.mouse_handler.prev_mouse_pos = self.mouse_handler.mouse_pos
|
||||||
if event.type == pygame.MOUSEBUTTONUP:
|
if event.type == pygame.MOUSEBUTTONUP:
|
||||||
self.mouse_handler.active = False
|
self.mouse_handler.active = False
|
||||||
|
Loading…
Reference in New Issue
Block a user