From 7ff8deb0b534212245ccfd5468e7d828dd3cd390 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 16 Jan 2022 03:08:59 +0200 Subject: [PATCH] fix position of custombackground on screen corners BUG:448519 FIXED-IN:0.10.8 --- .../package/contents/ui/colorizer/CustomBackground.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containment/package/contents/ui/colorizer/CustomBackground.qml b/containment/package/contents/ui/colorizer/CustomBackground.qml index 61b1dcca7..a948cc8f9 100644 --- a/containment/package/contents/ui/colorizer/CustomBackground.qml +++ b/containment/package/contents/ui/colorizer/CustomBackground.qml @@ -188,7 +188,7 @@ Item{ return 0; } anchors.verticalCenterOffset: { - if (allBorders || (noOfBorders>=2 && bothHorizontals) || (noOfBorders==2 && !bothVerticals && borderWidth===0)) { + if (allBorders || (noOfBorders>=2 && bothHorizontals)) { return 0; } @@ -217,7 +217,7 @@ Item{ return 0; } anchors.horizontalCenterOffset: { - if (allBorders || (noOfBorders>=2 && bothVerticals) || (noOfBorders==2 && !bothHorizontals && borderWidth===0)) { + if (allBorders || (noOfBorders>=2 && bothVerticals)) { return 0; }