Skip to content
Snippets Groups Projects

feat(simple_menu): Make scroll buttons configurable

Merged Philip Stewart requested to merge sodoku/firmware:right_scroll_config into master
All threads resolved!
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -196,7 +196,10 @@ class Menu:
self.disp = display.open()
try:
config_right_buttons_scroll = config.get_string("right_scroll")
if config_right_buttons_scroll.lower() == "true" or config_right_buttons_scroll == "1":
if (
config_right_buttons_scroll.lower() == "true"
or config_right_buttons_scroll == "1"
):
right_buttons_scroll = True
except OSError:
right_buttons_scroll = self.right_buttons_scroll
Loading