diff options
Diffstat (limited to 'data/GSOC examples/rotate polygon')
-rw-r--r-- | data/GSOC examples/rotate polygon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/GSOC examples/rotate polygon b/data/GSOC examples/rotate polygon index 5bd2dcc..6061bfd 100644 --- a/data/GSOC examples/rotate polygon +++ b/data/GSOC examples/rotate polygon @@ -142,7 +142,7 @@ while pippy.pygame.next_frame(): elif event.type == KEYDOWN and event.key == K_DOWN and side_length > 5: side_length -= 5 size_changed = True - elif event.type == KEYDOWN: + elif event.type == KEYDOWN and event.key == K_q: sys.exit() screen.fill(bgcolor) |