From 5c7992beef9fc59ff111c75f3b70e6f90636fdb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 25 Jul 2012 19:08:29 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 31c7208a2..54cf8142d 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) {