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

List:       kde-commits
Subject:    KDE/kdeexamples/plasma/javascript/plasmoids/animations/contents/code
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2009-12-14 21:46:13
Message-ID: 1260827173.221128.21871.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1062480 by aseigo:

make the angle explicit


 M  +1 -1      main  


--- trunk/KDE/kdeexamples/plasma/javascript/plasmoids/animations/contents/code/main #1062479:1062480
@@ -59,6 +59,7 @@
 
 // Create a Rotation animation and set it to operate on the button
 rotateAnimation = animation('rotate')
+rotateAnimation.angle = 180
 rotateAnimation.widgetToAnimate = button
 
 // Now we will add them to a group to run in parallel with each other
@@ -80,7 +81,6 @@
 // connect the clicked signal to our function above
 button.clicked.connect(startRotateAndFadeAnimation);
 
-
 //**********************************************************************************/
 //** Combining animations sequentialy: Rotating two label when a butto is clicked **/
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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