[gnome-shell] layout: tweak startup animation



commit 1cbb8b98517e9847d69372e7b510e4a30939da9f
Author: Ray Strode <rstrode redhat com>
Date:   Thu Feb 21 14:38:50 2013 -0500

    layout: tweak startup animation
    
    Following designer feedback, this commit makes the startup
    animation a little more subtle.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694326

 js/ui/layout.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index c341c2b..61e2250 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -555,7 +555,8 @@ const LayoutManager = new Lang.Class({
 
             this.uiGroup.set_pivot_point(x / global.screen_width,
                                          y / global.screen_height);
-            this.uiGroup.scale_x = this.uiGroup.scale_y = 0;
+            this.uiGroup.scale_x = this.uiGroup.scale_y = 0.5;
+            this.uiGroup.opacity = 0;
         }
 
         this._systemBackground = new Background.SystemBackground();
@@ -610,6 +611,7 @@ const LayoutManager = new Lang.Class({
         Tweener.addTween(this.uiGroup,
                          { scale_x: 1,
                            scale_y: 1,
+                           opacity: 255,
                            time: STARTUP_ANIMATION_TIME,
                            transition: 'easeOutQuad',
                            onComplete: this._startupAnimationComplete,


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