aboutsummaryrefslogtreecommitdiffstats
path: root/hex33board/menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'hex33board/menu.py')
-rw-r--r--hex33board/menu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/hex33board/menu.py b/hex33board/menu.py
index 0cbd404..df0766b 100644
--- a/hex33board/menu.py
+++ b/hex33board/menu.py
@@ -242,7 +242,7 @@ class Settings:
def dispatch(self, id: str, last_val=None):
self.change_handlers[id](self.settings[id].value, last_val)
- self.change_handlers['*'](id, self.settings[id].value, last_val)
+ self.change_handlers["*"](id, self.settings[id].value, last_val)
def get(self, id: str) -> Setting:
return self.settings[id]
@@ -319,6 +319,7 @@ class Settings:
for id in self.settings:
yield id, self.settings[id].value
+
class MenuMode(Mode):
color = (1.0, 1.0, 0.5)