Skip to content
Browse files

Merge pull request #351 from Dreckr/patch-4

Changed notification's motion to be smaller, more pleasant and uniform
  • Loading branch information...
2 parents 734854a + 1d2de0a commit 7cf896d067ff7cb48a771326dd0da8dcbdfd8e02 @clefebvre clefebvre committed Feb 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/ui/messageTray.js
View
2 js/ui/messageTray.js
@@ -1572,7 +1572,7 @@ MessageTray.prototype = {
this._notificationBin.child = this._notification.actor;
this._notificationBin.opacity = 0;
let monitor = Main.layoutManager.primaryMonitor;
- this._notificationBin.y = monitor.height; // Notifications appear from here (for the animation)
+ this._notificationBin.y = this._notification._table.get_theme_node().get_length('margin-from-top-edge-of-screen') * 2; // Notifications appear from here (for the animation)
let margin = this._notification._table.get_theme_node().get_length('margin-from-right-edge-of-screen');
this._notificationBin.x = monitor.width - this._notification._table.width - margin;
this._notificationBin.show();

0 comments on commit 7cf896d

Please sign in to comment.
Something went wrong with that request. Please try again.