summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/drawers/Backgrounds.qml2
-rw-r--r--modules/drawers/Panels.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml
index c6628ae..df8d2eb 100644
--- a/modules/drawers/Backgrounds.qml
+++ b/modules/drawers/Backgrounds.qml
@@ -55,7 +55,7 @@ Shape {
BarPopouts.Background {
wrapper: panels.popouts
- invertBottomRounding: wrapper.y + wrapper.height - BorderConfig.rounding >= root.height
+ invertBottomRounding: wrapper.y + wrapper.height >= root.height
startX: 0
startY: wrapper.y - rounding
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index 0fb76d5..b127031 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -82,7 +82,7 @@ Item {
anchors.verticalCenter: parent.top
anchors.verticalCenterOffset: {
const off = Popouts.currentCenter - BorderConfig.thickness;
- const diff = root.height - Math.floor(off + implicitHeight / 2 - BorderConfig.rounding);
+ const diff = root.height - Math.floor(off + implicitHeight / 2);
if (diff < 0)
return off + diff;
return off;