Fix #106043: Don't use offset for free nodes #106050
|
@ -51,8 +51,8 @@ static void create_transform_data_for_node(TransData &td,
|
|||
nodeToView(node.parent, node.locx + node.offsetx, node.locy + node.offsety, &locx, &locy);
|
||||
}
|
||||
else {
|
||||
locx = node.locx + node.offsetx;
|
||||
locy = node.locy + node.offsety;
|
||||
locx = node.locx;
|
||||
locy = node.locy;
|
||||
}
|
||||
|
||||
/* use top-left corner as the transform origin for nodes */
|
||||
|
@ -251,8 +251,8 @@ static void flushTransNodes(TransInfo *t)
|
|||
&node->locy);
|
||||
}
|
||||
else {
|
||||
node->locx = loc[0] - node->offsetx;
|
||||
node->locy = loc[1] - node->offsety;
|
||||
node->locx = loc[0];
|
||||
node->locy = loc[1];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue