From kde-commits Mon Dec 14 21:46:13 2009 From: =?utf-8?q?Aaron=20J=2E=20Seigo?= Date: Mon, 14 Dec 2009 21:46:13 +0000 To: kde-commits Subject: KDE/kdeexamples/plasma/javascript/plasmoids/animations/contents/code Message-Id: <1260827173.221128.21871.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=126082718123540 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 **/