views/month: Reset offset when animation is done

This commit is contained in:
Georges Basile Stavracas Neto
2023-09-02 10:26:41 -03:00
parent b0813fb605
commit 20ad7f3676
+3
View File
@@ -578,6 +578,9 @@ on_row_offset_animation_done (AdwAnimation *animation,
{
gtk_widget_remove_css_class (GTK_WIDGET (self), "scrolling");
cancel_row_offset_animation (self);
self->row_offset = 0.0;
gtk_widget_queue_allocate (GTK_WIDGET (self));
}
static void