summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 2923ec33c4..8df0a29d52 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -588,7 +588,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
588 static bool scrolling_left = false; 588 static bool scrolling_left = false;
589#endif 589#endif
590 590
591#ifdef HAVE_SCROLLWHEEL 591#ifdef HAVE_WHEEL_ACCELERATION
592 int next_item_modifier = button_apply_acceleration(get_action_data()); 592 int next_item_modifier = button_apply_acceleration(get_action_data());
593#else 593#else
594 static int next_item_modifier = 1; 594 static int next_item_modifier = 1;
@@ -659,7 +659,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
659 case ACTION_STD_PREV: 659 case ACTION_STD_PREV:
660 case ACTION_STD_PREVREPEAT: 660 case ACTION_STD_PREVREPEAT:
661 gui_list_select_at_offset(lists, -next_item_modifier); 661 gui_list_select_at_offset(lists, -next_item_modifier);
662#ifndef HAVE_SCROLLWHEEL 662#ifndef HAVE_WHEEL_ACCELERATION
663 if (button_queue_count() < FRAMEDROP_TRIGGER) 663 if (button_queue_count() < FRAMEDROP_TRIGGER)
664#endif 664#endif
665 gui_synclist_draw(lists); 665 gui_synclist_draw(lists);
@@ -673,7 +673,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
673 case ACTION_STD_NEXT: 673 case ACTION_STD_NEXT:
674 case ACTION_STD_NEXTREPEAT: 674 case ACTION_STD_NEXTREPEAT:
675 gui_list_select_at_offset(lists, next_item_modifier); 675 gui_list_select_at_offset(lists, next_item_modifier);
676#ifndef HAVE_SCROLLWHEEL 676#ifndef HAVE_WHEEL_ACCELERATION
677 if (button_queue_count() < FRAMEDROP_TRIGGER) 677 if (button_queue_count() < FRAMEDROP_TRIGGER)
678#endif 678#endif
679 gui_synclist_draw(lists); 679 gui_synclist_draw(lists);