layout: Make OSK animation quicker, snappier

https://bugzilla.gnome.org/show_bug.cgi?id=688642
This commit is contained in:
Rui Matos 2012-11-15 16:35:20 +01:00 committed by Adel Gadllah
parent e5f4f77073
commit 507f29a7bd

View File

@ -16,7 +16,7 @@ const Tweener = imports.ui.tweener;
const HOT_CORNER_ACTIVATION_TIMEOUT = 0.5;
const STARTUP_ANIMATION_TIME = 0.2;
const KEYBOARD_ANIMATION_TIME = 0.5;
const KEYBOARD_ANIMATION_TIME = 0.15;
const PLYMOUTH_TRANSITION_TIME = 1;
const MonitorConstraint = new Lang.Class({
@ -437,7 +437,7 @@ const LayoutManager = new Lang.Class({
Tweener.addTween(this.keyboardBox,
{ anchor_y: 0,
time: immediate ? 0 : KEYBOARD_ANIMATION_TIME,
transition: 'easeOutQuad',
transition: 'easeInQuad',
onComplete: this._hideKeyboardComplete,
onCompleteScope: this
});