summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/list.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 4b5f327941..2c7b7c9405 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -409,10 +409,7 @@ void gui_list_screen_scroll_step(int ofs)
409 409
410void gui_list_screen_scroll_out_of_view(bool enable) 410void gui_list_screen_scroll_out_of_view(bool enable)
411{ 411{
412 if (enable) 412 offset_out_of_view = enable;
413 offset_out_of_view = true;
414 else
415 offset_out_of_view = false;
416} 413}
417#endif /* HAVE_LCD_BITMAP */ 414#endif /* HAVE_LCD_BITMAP */
418 415