From db008b848af177ec82b9289bec6c4c0ae3287176 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sat, 30 Jul 2016 14:08:55 +0200 Subject: [PATCH] Fix issue with x-position of notification in some multimonitor setups. --- src/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.js b/src/extension.js index 4ac5288..3cf8af5 100644 --- a/src/extension.js +++ b/src/extension.js @@ -484,7 +484,7 @@ let extensionUpdateShowingNotification = function() { yPos = (yTop - yBottom) * getY_position() / 100 + yBottom; // } - theNotification.x = _availablePrimaryRect.x + ((_availablePrimaryRect.width - theNotification.width) * (getX_position() - 50) / 50); + theNotification.x = (_availablePrimaryRect.width - theNotification.width) * (getX_position() - 50) / 50; // JRL changes end // We tween all notifications to full opacity. This ensures that both new notifications and // notifications that might have been in the process of hiding get full opacity.