panel: Use a constant for the panel startup animation time

https://bugzilla.gnome.org/show_bug.cgi?id=643804
This commit is contained in:
Florian Müllner 2011-03-03 17:34:14 +01:00
parent c64242c276
commit 6fbf8fa9e4

View File

@ -25,6 +25,8 @@ const PANEL_HEIGHT = 26;
const PANEL_ICON_SIZE = 24;
const STARTUP_ANIMATION_TIME = 0.2;
const HOT_CORNER_ACTIVATION_TIMEOUT = 0.5;
const BUTTON_DND_ACTIVATION_TIMEOUT = 250;
@ -1046,7 +1048,7 @@ Panel.prototype = {
this.actor.y = oldY - this.actor.height;
Tweener.addTween(this.actor,
{ y: oldY,
time: 0.2,
time: STARTUP_ANIMATION_TIME,
transition: 'easeOutQuad'
});
},