forked from Cavemanon/IWaniHugThatGator-Demo-Public
Merge pull request 'Adds CTRL Z support to the drawing mini-game' (#2) from GManon/IWaniHugThatGator-Demo-Public:Undo into master
Reviewed-on: Cavemanon/IWaniHugThatGator-Demo-Public#2
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user