From f69d9c8a9508871c93396a4261bcc41a8a3cddc7 Mon Sep 17 00:00:00 2001 From: Paul Sauro Date: Wed, 28 Aug 2024 17:44:16 +0200 Subject: Settings: Add a new option to prevent text scrollings in the home screen This option is especially useful for theme creators that want to create themes with lockscreens. When text is scrolling, it is breaking the lockscreen so setting this option to true prevent this. Text will continue to scroll normally in all other contexts. Change-Id: I194f6837217881d50f567a775b81d0b422caf35c --- apps/settings_list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/settings_list.c') diff --git a/apps/settings_list.c b/apps/settings_list.c index 98e8dec5a8..8ec434bd9b 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1319,6 +1319,8 @@ const struct settings_list settings[] = { #endif OFFON_SETTING(0, offset_out_of_view, LANG_SCREEN_SCROLL_VIEW, false, "Screen Scrolls Out Of View", NULL), + OFFON_SETTING(0, disable_mainmenu_scrolling, LANG_DISABLE_MAINMENU_SCROLLING, + false, "Disable main menu scrolling", NULL), INT_SETTING(F_PADTITLE, scroll_step, LANG_SCROLL_STEP, 6, "scroll step", UNIT_PIXEL, 1, LCD_WIDTH, 1, NULL, NULL, lcd_scroll_step), INT_SETTING(F_PADTITLE, screen_scroll_step, LANG_SCREEN_SCROLL_STEP, 16, -- cgit v1.2.3