fixed the calculation of the height
svn path=/trunk/KDE/kdelibs/; revision=1176062
This commit is contained in:
parent
fd6d284ab7
commit
8c3ab81d2f
@ -86,7 +86,7 @@ void GeometryAnimation::updateEffectiveTime(int currentTime)
|
|||||||
m_startGeometry.top()*(1-delta) + m_targetGeometry.top()*(delta)));
|
m_startGeometry.top()*(1-delta) + m_targetGeometry.top()*(delta)));
|
||||||
if (m_startGeometry.size() != m_targetGeometry.size()) {
|
if (m_startGeometry.size() != m_targetGeometry.size()) {
|
||||||
newGeo.setSize(QSizeF(m_startGeometry.width()*(1-delta) + m_targetGeometry.width()*(delta),
|
newGeo.setSize(QSizeF(m_startGeometry.width()*(1-delta) + m_targetGeometry.width()*(delta),
|
||||||
m_startGeometry.width()*(1-delta) + m_targetGeometry.width()*(delta)));
|
m_startGeometry.height()*(1-delta) + m_targetGeometry.height()*(delta)));
|
||||||
} else {
|
} else {
|
||||||
newGeo.setSize(m_targetGeometry.size());
|
newGeo.setSize(m_targetGeometry.size());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user