[gnome-shell] layout: Make OSK animation quicker, snappier



commit 507f29a7bd673fd9e34f326ad96651bf0eda037c
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Nov 15 16:35:20 2012 +0100

    layout: Make OSK animation quicker, snappier
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688642

 js/ui/layout.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 9e2dee9..f55e2b3 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -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
                          });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]