layout: Use translation_y for panel animation
The anchor point is deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=689537
This commit is contained in:
parent
d50c3e6c67
commit
49fa0ddebc
@ -342,7 +342,7 @@ const LayoutManager = new Lang.Class({
|
||||
},
|
||||
|
||||
_startupAnimation: function() {
|
||||
this.panelBox.anchor_y = this.panelBox.height;
|
||||
this.panelBox.translation_y = -this.panelBox.height;
|
||||
|
||||
let plymouthTransitionRunning = false;
|
||||
|
||||
@ -378,7 +378,7 @@ const LayoutManager = new Lang.Class({
|
||||
}
|
||||
|
||||
Tweener.addTween(this.panelBox,
|
||||
{ anchor_y: 0,
|
||||
{ translation_y: 0,
|
||||
time: STARTUP_ANIMATION_TIME,
|
||||
transition: 'easeOutQuad',
|
||||
onComplete: this._startupAnimationComplete,
|
||||
|
Loading…
Reference in New Issue
Block a user