Description
There's a few examples that call View.close
on ESC
key.
Here:
arcade/arcade/examples/astar_pathfinding.py
Lines 216 to 218 in 333ce6e
Here:
arcade/arcade/examples/asteroid_smasher.py
Lines 317 to 319 in 333ce6e
Here, but it's dead code since ESC is tested twice in elif statements and only the first is executed:
arcade/arcade/examples/dual_stick_shooter.py
Lines 278 to 282 in 333ce6e
Here:
arcade/arcade/examples/slime_invaders.py
Lines 202 to 203 in 333ce6e
I presume this is a recent API change, but I don't see it mentioned here!?
https://github.com/pythonarcade/arcade/blob/development/CHANGELOG.md#window-and-view
What is the proper fix / coding pattern here to process ESC when sub-classing arcade.View?
I can send a PR if you let me know.