summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 5d5733b4e9..286e6f9e59 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -228,6 +228,7 @@ static void gui_list_draw(struct gui_list * gui_list)
int lines;
#ifdef HAVE_LCD_BITMAP
int item_offset;
+ int old_margin = display->getxmargin();
#endif
gui_textarea_clear(display);
@@ -401,6 +402,7 @@ static void gui_list_draw(struct gui_list * gui_list)
gui_list->start_item,
gui_list->start_item + lines, VERTICAL);
}
+ screen_set_xmargin(display, old_margin);
#endif
gui_textarea_update(display);