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:
blacksun
2016-09-13 16:32:02 +00:00
parent bb8cb53144
commit 01a1d13c41
3 changed files with 6 additions and 8 deletions

View File

@@ -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);
}