path: Make get_closest_point work

We weren't setting point->path. Oops.
Good to have tests.
This commit is contained in:
Matthias Clasen 2023-08-07 08:31:00 -04:00
parent 9b916b329a
commit 888abb6f24

View File

@ -485,6 +485,7 @@ gsk_path_get_closest_point (GskPath *self,
{
found = TRUE;
res->contour = i;
res->path = self;
threshold = distance;
}
}