From 00eea71f8bd57a9053b4fed21903f1207f4081a8 Mon Sep 17 00:00:00 2001
From: iggy <iggy@muc.ccc.de>
Date: Wed, 28 Jun 2023 00:22:59 +0200
Subject: [PATCH] py: st4m/worms fixes

---
 python_payload/apps/demo_worms4.py | 1 +
 python_payload/st4m/application.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/python_payload/apps/demo_worms4.py b/python_payload/apps/demo_worms4.py
index dfba5f0205..4f2e876671 100644
--- a/python_payload/apps/demo_worms4.py
+++ b/python_payload/apps/demo_worms4.py
@@ -40,6 +40,7 @@ class AppWorms(application.Application):
 
     def on_enter(self):
         # print("on foreground")
+        super().on_enter()
         self.just_shown = True
 
     def draw(self, ctx):
diff --git a/python_payload/st4m/application.py b/python_payload/st4m/application.py
index dcb44fcadf..a8559472ec 100644
--- a/python_payload/st4m/application.py
+++ b/python_payload/st4m/application.py
@@ -1,4 +1,5 @@
 from st4m.ui.view import ViewWithInputState, ViewTransitionSwipeRight
+from st4m.input import InputState
 
 
 class Application(ViewWithInputState):
-- 
GitLab