Adds CTRL Z support to the drawing mini-game #2
@ -438,6 +438,9 @@ init -10 python in draw_logic:
|
||||
self.__is_pressed = False
|
||||
self.__active_curve = None
|
||||
|
||||
elif ev.type == pygame.KEYDOWN and ev.key == pygame.K_z and pygame.key.get_mods() & pygame.KMOD_CTRL:
|
||||
self.back()
|
||||
|
||||
|
||||
def per_interact(self):
|
||||
self.__is_pressed = False
|
||||
|
Loading…
Reference in New Issue
Block a user