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 **/