summaryrefslogtreecommitdiff
path: root/apps/gui/bitmap/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/bitmap/list.c')
-rw-r--r--apps/gui/bitmap/list.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 4bffca84bc..13329e22f9 100644
--- a/apps/gui/bitmap/list.c
+++ b/apps/gui/bitmap/list.c
@@ -201,12 +201,16 @@ void list_draw(struct screen *display, struct viewport *parent,
201 } 201 }
202 } 202 }
203#endif 203#endif
204 204 if(i >= list->selected_item &&
205 if(list->show_selection_marker && global_settings.cursor_style &&
206 i >= list->selected_item &&
207 i < list->selected_item + list->selected_size) 205 i < list->selected_item + list->selected_size)
208 {/* The selected item must be displayed scrolling */ 206 {/* The selected item must be displayed scrolling */
209 if (global_settings.cursor_style == 1 || display->depth < 16) 207 if (global_settings.cursor_style == 1
208#ifdef HAVE_REMOTE_LCD
209 /* the global_settings.cursor_style check is here to make sure
210 if they want the cursor instead of bar it will work */
211 || (display->depth < 16 && global_settings.cursor_style)
212#endif
213 )
210 { 214 {
211 /* Display inverted-line-style */ 215 /* Display inverted-line-style */
212 list_text[display->screen_type].drawmode |= STYLE_INVERT; 216 list_text[display->screen_type].drawmode |= STYLE_INVERT;