From 1cbb8b98517e9847d69372e7b510e4a30939da9f Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 21 Feb 2013 14:38:50 -0500 Subject: [PATCH] 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 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index c341c2ba9..61e225066 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,