Update transformation origin when move an image.
This commit is contained in:
parent
d4f791f0ee
commit
94e7c7d612
|
@ -195,6 +195,7 @@ void VBackgroundImageControls::UpdateControls()
|
||||||
|
|
||||||
prepareGeometryChange();
|
prepareGeometryChange();
|
||||||
m_image = m_doc->GetBackgroundImage(m_id);
|
m_image = m_doc->GetBackgroundImage(m_id);
|
||||||
|
m_originPos = m_image.BoundingRect().center();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user