Commit c24855b2 authored by Cedric Roux's avatar Cedric Roux

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
parent 18147072
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment