[gnome-shell] appDisplay: Also fade ScrollView in folders



commit 420db828e9ab0b0edc7798726240a9ac36b4a159
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Sep 5 09:48:25 2013 +0200

    appDisplay: Also fade ScrollView in folders

 js/ui/appDisplay.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 7ef8272..3fc86f3 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -962,6 +962,10 @@ const FolderView = new Lang.Class({
 
         this.actor.set_width(this.usedWidth());
         this.actor.set_height(this.usedHeight());
+
+        let fadeOffset = Math.min(this._grid.topPadding,
+                                  this._grid.bottomPadding);
+        this.actor.update_fade_effect(fadeOffset, 0);
     },
 
     _getPageAvailableSize: function() {


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