From 049bf5bd8f87be629df60da15d02bf1a50f82d48 Mon Sep 17 00:00:00 2001 From: Jason Francis Date: Tue, 24 Sep 2019 07:59:15 -0400 Subject: [PATCH] Fix animation not working when capture disabled --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 5af340e..13a721a 100644 --- a/src/main.c +++ b/src/main.c @@ -938,6 +938,7 @@ static void set_clicked_head(struct wd_state *state, clicked->clicked = TRUE; flip_anim(&clicked->click_begin, tick); } + update_tick_callback(state); } state->clicked = clicked; } @@ -1223,6 +1224,7 @@ static gboolean redraw_canvas(GtkWidget *widget, GdkFrameClock *frame_clock, gpo if (state->capture) { wd_capture_frame(state); } + update_tick_callback(state); queue_canvas_draw(state); return G_SOURCE_CONTINUE; }