Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/GSOC examples/rotate polygon
diff options
context:
space:
mode:
authorDinko Galetic <dgaletic@everflame.(none)>2010-06-10 10:31:23 (GMT)
committer Dinko Galetic <dgaletic@everflame.(none)>2010-06-10 10:31:23 (GMT)
commit88cc999c9b273c2017d96c7c9aa043495b93b2e7 (patch)
tree6aa54641421b5cd5fccebda4e0242039e131a8ff /data/GSOC examples/rotate polygon
parent8953dcc49b949e5ae3c79cfd49b9c3ff21e164ca (diff)
"Koch snowflake", "Sierpinski - graphics" and "rotate polygon" now quit on q, not just any key except arrows.
Diffstat (limited to 'data/GSOC examples/rotate polygon')
-rw-r--r--data/GSOC examples/rotate polygon2
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)