From a8a2b7d7bbfcfcb95129ec115310f8a01aa8971a Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 20 Aug 2013 18:29:02 -0400 Subject: [PATCH] layout: Create the primary background in a not critical location The startup animation should be as minimal as possible to prevent hangups. --- js/ui/layout.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index 6df7cb6b9..7176d5237 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -600,6 +600,8 @@ const LayoutManager = new Lang.Class({ if (Main.sessionMode.isGreeter) { this.panelBox.translation_y = -this.panelBox.height; } else { + this._createPrimaryBackground(); + // We need to force an update of the regions now before we scale // the UI group to get the coorect allocation for the struts. this._updateRegions(); @@ -649,7 +651,6 @@ const LayoutManager = new Lang.Class({ }, _startupAnimationSession: function() { - this._createPrimaryBackground(); Tweener.addTween(this.uiGroup, { scale_x: 1, scale_y: 1,