Fix animation not working when capture disabled

This commit is contained in:
Jason Francis 2019-09-24 07:59:15 -04:00
parent 03de59d307
commit 049bf5bd8f
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}