layout: Create the primary background in a not critical location
The startup animation should be as minimal as possible to prevent hangups.
This commit is contained in:
parent
9a901c7add
commit
a8a2b7d7bb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user