mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-05 12:36:16 +02:00
gui_frame.c (loop_scroll_event): reverse direction
For consistency with traversal of package list.
This commit is contained in:
parent
5a1fd80fc8
commit
15e5811aea
@ -1220,13 +1220,13 @@ static gboolean loop_scroll_event(GtkWidget *widget, GdkEventScroll *event,
|
||||
struct loop *loop = data;
|
||||
|
||||
switch (event->direction) {
|
||||
case GDK_SCROLL_UP:
|
||||
case GDK_SCROLL_DOWN:
|
||||
if (loop->active < loop->iterations-1) {
|
||||
loop->active++;
|
||||
change_world();
|
||||
}
|
||||
break;
|
||||
case GDK_SCROLL_DOWN:
|
||||
case GDK_SCROLL_UP:
|
||||
if (loop->active) {
|
||||
loop->active--;
|
||||
change_world();
|
||||
|
Loading…
Reference in New Issue
Block a user