small fix for lissajous.py
This commit is contained in:
parent
b8b6518057
commit
5d25d48945
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ class Lissajous(Game):
|
||||||
def on_event(self, event):
|
def on_event(self, event):
|
||||||
if event.type == MOUSEBUTTONDOWN and event.button == 1:
|
if event.type == MOUSEBUTTONDOWN and event.button == 1:
|
||||||
self.reset = True
|
self.reset = True
|
||||||
|
else:
|
||||||
|
super(Lissajous,self).on_event(event)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
Lissajous(0.5,0.325).on_execute()
|
Lissajous(0.5,0.325).on_execute()
|
||||||
|
|
Loading…
Reference in a new issue