[gnome-shell/wip/fmuellner/notification-redux+sass: 41/61] Revert "revert questionable bits"
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux+sass: 41/61] Revert "revert questionable bits"
- Date: Thu, 19 Feb 2015 14:12:05 +0000 (UTC)
commit 8789e5953cb9c39729b269efcab28a80c1eabd31
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 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index ca276bb..962baa1 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1681,7 +1681,7 @@ const MessageTray = new Lang.Class({
// automatically. Instead, the user is able to expand the notification by mousing away from
it and then
// mousing back in. Because this is an expected action, we set the boolean flag that
indicates that a longer
// timeout should be used before popping down the notification.
- if (this.actor.contains(actorAtShowNotificationPosition)) {
+ if (this._notificationWidget.contains(actorAtShowNotificationPosition)) {
this._useLongerNotificationLeftTimeout = true;
return;
}
@@ -1968,7 +1968,7 @@ const MessageTray = new Lang.Class({
if (animate) {
this._tween(this._notificationWidget, '_notificationState', State.HIDDEN,
- { y: this.actor.height,
+ { y: 0,
opacity: 0,
time: ANIMATION_TIME,
transition: 'easeOutQuad',
@@ -1977,7 +1977,7 @@ const MessageTray = new Lang.Class({
});
} else {
Tweener.removeTweens(this._notificationWidget);
- this._notificationWidget.y = this.actor.height;
+ this._notificationWidget.y = 0;
this._notificationWidget.opacity = 0;
this._notificationState = State.HIDDEN;
this._hideNotificationCompleted();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]