From 50dd8d095ce0a7528aed2718104b644e6cfccebd Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 15 Dec 2022 14:30:48 +0000 Subject: [PATCH] Remove universal=True from bindings in 5x5 Not only has universal not changed to priority, these bindings are on the screen and so have priority anyway. This means we can safely go back to how 5x5 was prior to 0.6.0. --- examples/five_by_five.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/five_by_five.py b/examples/five_by_five.py index a0410ba6e..3e668f04d 100644 --- a/examples/five_by_five.py +++ b/examples/five_by_five.py @@ -166,10 +166,10 @@ class Game(Screen): Binding("n", "new_game", "New Game"), Binding("question_mark", "push_screen('help')", "Help", key_display="?"), Binding("q", "quit", "Quit"), - Binding("up,w,k", "navigate(-1,0)", "Move Up", False, universal=True), - Binding("down,s,j", "navigate(1,0)", "Move Down", False, universal=True), - Binding("left,a,h", "navigate(0,-1)", "Move Left", False, universal=True), - Binding("right,d,l", "navigate(0,1)", "Move Right", False, universal=True), + Binding("up,w,k", "navigate(-1,0)", "Move Up", False), + Binding("down,s,j", "navigate(1,0)", "Move Down", False), + Binding("left,a,h", "navigate(0,-1)", "Move Left", False), + Binding("right,d,l", "navigate(0,1)", "Move Right", False), Binding("space", "move", "Toggle", False), ] """The bindings for the main game grid."""