Commit b220dcbb authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Notifications] Fix oversight of not taking into account screen X when placing...

[Notifications] Fix oversight of not taking into account screen X when placing notifications on the right side of the screen

Differential Revision: https://phabricator.kde.org/D21152
parent 01333913
......@@ -235,7 +235,7 @@ QtObject {
if (popupLocation & Qt.AlignHCenter) {
popup.x = x + (screenRect.width - popup.width) / 2;
} else if (popupLocation & Qt.AlignRight) {
popup.x = screenRect.width - popupEdgeDistance - popup.width;
popup.x = x + screenRect.width - popupEdgeDistance - popup.width;
} else {
popup.x = x;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment