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
+ 2
5
Compare changes
  • Side-by-side
  • Inline
@@ -195,11 +195,8 @@ class Menu:
self.select_time = time.time_ms()
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"
):
right_scroll_str = config.get_string("right_scroll")
if right_scroll_str.lower() in ["true", "1"]:
right_buttons_scroll = True
except OSError:
right_buttons_scroll = self.right_buttons_scroll
Loading