border-align: account for origin of child bounding box

parent be7a349e
Pipeline #180793 failed with stages
in 40 minutes and 11 seconds
......@@ -131,6 +131,9 @@ create_matrix (OpTransform *op,
y = o->y * (border_rect.height - box_rect.height - o->vertical_margin * 2)+
o->vertical_margin;
x -= box_rect.x;
y -= box_rect.y;
if (o->snap_integer)
{
x = roundf (x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment