Commit 882d0e35 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Use different transform for QmlAnchorBindingProxy

Change-Id: I54bad5ddc239e3d8e91ff4f39c74bab780c658f2
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 02ca509a
......@@ -434,7 +434,7 @@ void QmlAnchorBindingProxy::setRightAnchor(bool anchor)
QRectF QmlAnchorBindingProxy::boundingBox(QmlItemNode node)
{
if (node.isValid())
return node.instanceTransform().mapRect(node.instanceBoundingRect());
return node.instanceTransformWithContentTransform().mapRect(node.instanceBoundingRect());
return QRect();
}
......
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