Fix gtk_widget_compute_transform

We were collecting all the transforms from widget
up to ancestor, and then trying to collect the
ones from target to ancestor, but failing.
This commit is contained in:
Matthias Clasen 2019-02-19 19:29:56 -05:00
parent 9a8082bab2
commit 93b47c12d7

View File

@ -11283,7 +11283,7 @@ gtk_widget_compute_transform (GtkWidget *widget,
graphene_matrix_t inv;
graphene_matrix_init_identity (&down_transform);
parent = target;
while (parent != ancestor)
{
graphene_matrix_multiply (&down_transform, &parent->priv->transform, &down_transform);