reverse button 1 and 3 to start and stop autoscroll in view/time.c

it seems more natural to stop autoscroll with button 3 and start it
with button 1
This commit is contained in:
Cedric Roux
2016-05-20 16:17:24 +02:00
parent 1814707287
commit c24855b229
+2 -2
View File
@@ -221,8 +221,8 @@ static void click(void *private, gui *g,
int *d = notification_data;
int button = *d;
if (button == 1) this->autoscroll = 0;
if (button == 3) this->autoscroll = 1;
if (button == 3) this->autoscroll = 0;
if (button == 1) this->autoscroll = 1;
}
view *new_view_time(int number_of_seconds, float refresh_rate,