[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/parley/src/practice
From:       Daniel Laidig <d.laidig () gmx ! de>
Date:       2010-06-01 22:14:40
Message-ID: 20100601221440.DE08FAC8C8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1133537 by laidig:

react more smoothly when setting a new pixmap while the image widget is still in the \
middle of a fading animation

forward-port of r1133536

 M  +1 -0      imagewidget.cpp  


--- trunk/KDE/kdeedu/parley/src/practice/imagewidget.cpp #1133536:1133537
@@ -201,6 +201,7 @@
 {
     kDebug() << "set new pixmap, size:" << pixmap.size();
     if (m_animation->state() == QTimeLine::Running) {
+        m_scaledPixmap = transition(m_animationPixmap, m_scaledPixmap, \
m_animation->currentValue());  m_animation->stop();
         animationFinished();
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic