[gnome-shell/wip/swarm: 5/15] appDisplay: Use less time to fade in icons than close popup



commit 2591246ccdb2a10e73308a6f58c76825d2992319
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Tue Jun 17 17:46:25 2014 +0200

    appDisplay: Use less time to fade in icons than close popup

 js/ui/appDisplay.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 2f2ad02..c1dbe3a 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -34,7 +34,10 @@ const MIN_COLUMNS = 4;
 const MIN_ROWS = 4;
 
 const INACTIVE_GRID_OPACITY = 77;
-const INACTIVE_GRID_OPACITY_ANIMATION_TIME = 0.40;
+// This time needs to be less than IconGrid.EXTRA_SPACE_ANIMATION_TIME
+// to not clash this opacity animation with the swarm animation putting
+// opacity 0 to items.
+const INACTIVE_GRID_OPACITY_ANIMATION_TIME = 0.24;
 const FOLDER_SUBICON_FRACTION = .4;
 
 const MIN_FREQUENT_APPS_COUNT = 3;


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