Fix window display initialization in KeyLogger and MiceMaze

This commit is contained in:
2025-08-19 16:04:38 +02:00
parent 0468b216c0
commit 947d464afd
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ class MiceMaze(
self.cell_size, "Mice!",
key_callback=(self.key_pressed, self.key_released, self.axis_scroll))
self.load_assets()
self.render_engine.window.show()
self.pointer = (random.randint(1, self.map.width-2), random.randint(1, self.map.height-2))
self.scroll_cursor()
self.points = 0