mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 13:40:52 +01:00
Minor : minor change about Xref offset
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4704 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -217,9 +217,9 @@ void CrossRefItem::updateLabel() {
|
||||
* Calculate and set position automaticaly.
|
||||
*/
|
||||
void CrossRefItem::autoPos() {
|
||||
//We calcul the position according to the @snapTo of the xrefproperties
|
||||
//We calcul the position according to the @snapTo of the xrefproperties
|
||||
if (m_properties.snapTo() == XRefProperties::Bottom)
|
||||
centerToBottomDiagram(this, m_element, m_properties.offset());
|
||||
centerToBottomDiagram(this, m_element, m_properties.offset() <= 40 ? 5 : m_properties.offset());
|
||||
else
|
||||
centerToParentBottom(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user