[gnome-shell] loginDialog: Tweak automatic scroll animation



commit 5c7992beef9fc59ff111c75f3b70e6f90636fdb1
Author: Florian MÃllner <fmuellner gnome org>
Date:   Wed Jul 25 19:08:29 2012 +0200

    loginDialog: Tweak automatic scroll animation
    
    The current animation time of two seconds may result in some
    confusion, as the reason of the behavior only becomes apprent
    when the auto-activating item becomes visible; make the animation
    a lot faster and ease it out a bit.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=660913

 js/gdm/loginDialog.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 31c7208..54cf814 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -41,7 +41,7 @@ const ModalDialog = imports.ui.modalDialog;
 const Tweener = imports.ui.tweener;
 
 const _RESIZE_ANIMATION_TIME = 0.25;
-const _SCROLL_ANIMATION_TIME = 2.0;
+const _SCROLL_ANIMATION_TIME = 0.5;
 const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
 const _LOGO_ICON_NAME_SIZE = 48;
 
@@ -400,7 +400,7 @@ const UserList = new Lang.Class({
         Tweener.addTween (adjustment,
                           { value: value,
                             time: _SCROLL_ANIMATION_TIME,
-                            transition: 'linear' });
+                            transition: 'easeOutQuad' });
     },
 
     jumpToItem: function(item) {



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