mirror of
https://github.com/artizirk/wdisplays.git
synced 2024-12-22 12:30:15 +02:00
Fix animation not working when capture disabled
This commit is contained in:
parent
03de59d307
commit
049bf5bd8f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user