aboutsummaryrefslogtreecommitdiffstats
path: root/hex33board/menu.py
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2024-11-26 22:56:24 +0000
committers-ol <s+removethis@s-ol.nu>2024-11-26 23:09:32 +0000
commit19033d220f23a645694923ba526b66a7429c4dec (patch)
tree33c9f379c023f21e8ab6ced06cc67445ffd7f5c6 /hex33board/menu.py
parentupdate for colorsys 3.0.0 (diff)
downloadfirmware-main.tar.gz
firmware-main.zip
lintingHEADmain
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)