[gnome-shell/wip/fmuellner/notification-redux+sass: 129/145] Revert "revert questionable bits"



commit 4ea5a94ccfbd83948474f0e14f8dcd61b203f1f1
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Feb 19 11:08:39 2015 +0100

    Revert "revert questionable bits"
    
    This reverts commit a9601bcb95c28e98bc6e443495535384cc612e5e.

 js/ui/messageTray.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index e64f2ce..05bc175 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1985,7 +1985,7 @@ const MessageTray = new Lang.Class({
 
         if (animate) {
             this._tween(this.actor, '_notificationState', State.HIDDEN,
-                        { y: this.actor.height,
+                        { y: 0,
                           opacity: 0,
                           time: ANIMATION_TIME,
                           transition: 'easeOutQuad',
@@ -1994,7 +1994,7 @@ const MessageTray = new Lang.Class({
                         });
         } else {
             Tweener.removeTweens(this.actor);
-            this.actor.y = this.actor.height;
+            this.actor.y = 0;
             this.actor.opacity = 0;
             this._notificationState = State.HIDDEN;
             this._hideNotificationCompleted();


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