Setting the scale (it works now, there is a problem with centering).
svn path=/trunk/KDE/kdelibs/; revision=1094558
This commit is contained in:
parent
3b589bbd68
commit
02d3966f3c
@ -123,7 +123,7 @@ void PulseAnimation::updateCurrentTime(int currentTime)
|
||||
qreal delta = Animation::easingCurve().valueForProgress( currentTime / qreal(duration()));
|
||||
|
||||
if (m_under.data()->isIconBigger()) {
|
||||
/* TODO: calculate the scale for bigger icon */
|
||||
m_under.data()->setScale(delta);
|
||||
|
||||
} else {
|
||||
m_under.data()->setScale(delta);
|
||||
|
Loading…
Reference in New Issue
Block a user