Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authorAlex Levenson <alexlevenson@laptop.org>2008-07-10 22:10:16 (GMT)
committer Alex Levenson <alexlevenson@laptop.org>2008-07-10 22:10:16 (GMT)
commit3889f644d5fb387c5abc6373315c2b1c2263bb45 (patch)
tree7d6cc8d4729c52bbe3b10b2311b781c30318630e /physics.py
parent9d9aaef068147e022b4075bdf00defa3dc3c648a (diff)
(hopefully) fixed focus issues
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/physics.py b/physics.py
index 2987d1f..48d9464 100644
--- a/physics.py
+++ b/physics.py
@@ -31,6 +31,7 @@ class PhysicsGame:
# get everything set up
self.clock = pygame.time.Clock()
self.font = pygame.font.Font(None, 24) # font object
+ self.canvas = olpcgames.ACTIVITY.canvas
# setup tools
self.tools = {