[gnome-documents] spinnerbox: fade in when showing



commit 1990858d43309e0e30293aff2d50a59d98c68f39
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Mar 24 23:35:50 2012 -0400

    spinnerbox: fade in when showing

 src/spinnerBox.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/spinnerBox.js b/src/spinnerBox.js
index cf101da..c813c02 100644
--- a/src/spinnerBox.js
+++ b/src/spinnerBox.js
@@ -74,8 +74,11 @@ SpinnerBox.prototype = {
 
     moveIn: function() {
         this._clearDelayId();
-        this.actor.opacity = 255;
         this.actor.raise_top();
+
+        Tweener.addTween(this.actor, { opacity: 255,
+                                       time: 0.30,
+                                       transition: 'easeOutQuad' });
     },
 
     moveOut: function() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]