Skip to content

Commit

Permalink
Merge pull request #1 from Dimi20cen/fix-key-events
Browse files Browse the repository at this point in the history
Fix key events
  • Loading branch information
jriyyya authored Sep 17, 2023
2 parents 0b71861 + ddcb7cf commit 2200fc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions math_hurdlerActivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def __init__(self, handle):
# Note that set_canvas implicitly calls read_file when
# resuming from the Journal.
self.set_canvas(self._pygamecanvas)
self._pygamecanvas.grab_focus()

# Start the game running (self.game.run is called when the
# activity constructor returns).
Expand Down

0 comments on commit 2200fc1

Please sign in to comment.