From 41e4e80e4be1dda6d199abc121718e7eb05970b8 Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Tue, 26 Jan 2021 23:49:54 +0100 Subject: [PATCH] Bottom scroll button, set arrow cursor when scrolling by clicking button. --- src/tuxpaint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index e8174c8bb..6cc24a1fd 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -4041,7 +4041,7 @@ static void mainloop(void) SDL_AddTimer(REPEAT_SPEED / 3, scrolltimer_callback, (void *)&scrolltimer_event); } - if (*thing_scroll == 0) + if (*thing_scroll == 0 || *thing_scroll / gd_items.cols == num_rows_needed - gd_items.rows) { do_setcursor(cursor_arrow); if (scrolling)